coolair
V2EX  ›  问与答

git 命令怎么对比 upstream 获取到 GitHub 这样的提示“This branch is 44 commits ahead, 4 commits behind user/repo”?

  •  
  •   coolair · May 6, 2022 · 1352 views
    This topic created in 1644 days ago, the information mentioned may be changed or developed.
    2 replies  •  2022-05-06 10:17:38 +08:00
    ynyounuo
    ynyounuo
    May 6, 2022
    2
    替换 local branch 对应的 remote 然后 fetch 再 status
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5653 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 03:06 · PVG 11:06 · LAX 19:06 · JFK 22:06
    ♥ Do have faith in what you're doing.