2011-04-01 47 views

回答

4

你可以嘗試:

git remote -v show 

看看是否是「github」地址組跟蹤庫的彈出。

+1

當然,如果用戶使用SSH-別名(像我)對github.com,它可能會變成另一個名字。但是我想你正在爲自己的倉庫做這件事,然後你應該現在。 – 2011-04-02 00:48:02

0

git config -lwork-tree 中也能正常工作然而,正如Paulo Ebermann指出的那樣,ssh-alias仍然不成功。

樣本輸出:

[email protected]:nikhgupta/cli-poster.git 
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* 
branch.master.remote=origin 
branch.master.merge=refs/heads/master 
相關問題