* remote origin
Fetch URL: [email protected]:MyUserName/MyRepo.git
Push URL: [email protected]:MyUserName/MyRepo.git
HEAD branch: master
Remote branches:
develop tracked
master tracked
test new (next fetch will store in remotes/origin)
Local branches configured for 'git pull':
develop merges with remote develop
master merges with remote master
Local refs configured for 'git push':
develop pushes to develop (fast-forwardable)
master pushes to master (fast-forwardable)
我新克隆的仓库 git remote show origin 的结果 test 分支是我创建的新分支,因此我没有覆盖 master .
* remote origin
Fetch URL: [email protected]:MyUserName/MyRepo.git
Push URL: [email protected]:MyUserName/MyRepo.git
HEAD branch: master
Remote branches:
develop tracked
master tracked
test tracked
Local branches configured for 'git pull':
master merges with remote master
test merges with remote test
Local refs configured for 'git push':
master pushes to master (up to date)
test pushes to test (up to date)