我有一個Git倉庫命名main_repo其中的內容是的Git分支信息
HEAD branches config description hooks info objects refs
我克隆與git clone main_repo test_branch
然後
cd test_branch
git branch new_branch
git branch gives me
* master
new_branch
git的目錄我的問題是該如何檢查分支到main_repo ,我也可以看到main_repo分支目錄中的new_branch。
1. git checkout new_branch。 2.將分支推回到main_repo(命名原點) – CharlesB 2012-02-08 09:39:01