有人将一个名为testwith 的分支推git push origin test送到共享存储库.我可以看到分支git branch -r.
现在我正试图检查远程test分支.
我试过了:
git checkout test 什么都不做
git checkout origin/test给* (no branch).这令人困惑.我怎么能在"没有分支"?
如何查看远程Git分支?
是什么区别origin,并upstream在GitHub上?
当git branch -a命令完成后,一些分支有一个前缀origin(remotes/origin/..),而另一些的前缀upstream(remotes/upstream/..).