git remote

zuo@DESKTOP-QN47U5R MINGW64 /d/b/test (iyy)
$ git remote
origin

zuo@DESKTOP-QN47U5R MINGW64 /d/b/test (iyy)
$ git remote -v
origin  https://github.com/factsbenchmarks/test.git (fetch)
origin  https://github.com/factsbenchmarks/test.git (push)

zuo@DESKTOP-QN47U5R MINGW64 /d/b/test (iyy)
$ git remote show origin
* remote origin
  Fetch URL: https://github.com/factsbenchmarks/test.git
  Push  URL: https://github.com/factsbenchmarks/test.git
  HEAD branch: i22
  Remote branches:
    i22 tracked
    i33 tracked
    i44 tracked
    i55 tracked
    i66 tracked
    i77 tracked
  Local branch configured for 'git pull':
    i22 merges with remote i22
  Local refs configured for 'git push':
    i22 pushes to i22 (up to date)
    i33 pushes to i33 (fast-forwardable)
    i44 pushes to i44 (local out of date)
原文地址:https://www.cnblogs.com/654321cc/p/9571745.html