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

                  /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)


Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐