我已經創建了當地的分支機構:推動本地分行遠程
git checkout -b tmp1
現在,我想這個分支推送到服務器:
git push remote_tmp1 tmp1
遇到錯誤:
fatal: 'remote_tmp1' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
如何推動我的分支到服務器?
http://stackoverflow.com/questions/2765421/how-to-push-a-new-local-branch-to-a-remote-git-repository-and-track-it-too –
你應該只有使用您的遠程存儲庫名稱:'git push remote tmp1' –