您的位置:首页 > 其它

git查看本地和远程分支的状态

2017-12-19 10:52 405 查看
一、查看本地和远程分支的状态

/C/software/develop/workplace/gogoalback (master)
git remote show origin
remote origin
Fetch URL: git@gitlab.gofund.cn:terminal_new/gogalb.git
Push URL: git@gitlab.gofund.cn:terminal_new/gogalb.git
HEAD branch (remote HEAD is ambiguous, may be one of the following):
master
zhougang
Remote branches:
201709121_ypl tracked
dev tracked
dev_cl tracked
devy tracked
gg tracked
ggm tracked
ggp tracked
graph-m6 tracked
gw tracked
imag tracked
liv tracked
lvs tracked
master tracked
mj tracked
pro tracked
refs/remotes/origin/live_yang y stale (use 'git remote prune' to remove)
refs/remotes/origin/ypl stale (use 'git remote prune' to remove)
top100 tracked
tsd tracked
wjs tracked
wlc tracked
wuz tracked
xiong s tracked
yutao tracked
zhou ang tracked
zho yl tracked
zxd tracked
Local branches configured for 'git pull':
dev merges with remote dev
devyaomy merges with remote devymy
image merges with remote image
live merges with remote live
master merges with remote master
pro merges with remote pro
wlc merges with remote wlc
Local refs configured for 'git push':
dev pushes to dev (local out of date)
devmy pushes to devmy (up to date)
image pushes to image (fast-forwardable)
live pushes to live (local out of date)
master pushes to master (local out of date)
pro pushes to pro (up to date)
wlc pushes to wlc (up to date)
yta pushes to yutao (local out of date)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: