首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX 提问指南
广告
V2EX
›
问与答
git 命令怎么对比 upstream 获取到 GitHub 这样的提示“This branch is 44 commits ahead, 4 commits behind user/repo”?
coolair
·
2022-05-06 10:06:31 +08:00
· 663 次点击
这是一个创建于 871 天前的主题,其中的信息可能已经有所发展或是发生改变。
Commits
git
GitHub
branch
2 条回复
•
2022-05-06 10:17:38 +08:00
1
otakustay
2022-05-06 10:17:24 +08:00
1
https://stackoverflow.com/questions/20433867/git-ahead-behind-info-between-master-and-branch
2
ynyounuo
2022-05-06 10:17:38 +08:00
替换 local branch 对应的 remote 然后 fetch 再 status
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
5353 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 01:30
·
PVG 09:30
·
LAX 18:30
·
JFK 21:30
Developed with
CodeLauncher
♥ Do have faith in what you're doing.