2011-11-27 80 views

回答

4

這很容易:

git remote show 
git remote show <specific-remote> 
+1

你需要添加'-v'標誌,以獲得_all_的信息,否則你只是獲得遠程名 –

+0

'git remote -v show '和'git remote show '顯示相同的信息。 'git remote show'僅用於列出當前的遙控器。 – gustavotkg

1

git remote應該在這種情況下工作。

git remote show origin(或您可能擁有的任何其他遙控器)。

8

您可以看到原始配置

cat .git/config 

或使用remote

git remote -v