我不跟我的帳戶登錄,我拉了回購沒有問題,無論是公立還是私立:
$ git status
fatal: Not a git repository (or any of the parent directories): .git
$
$
$ git clone https://github.com/ronisaha/wdCalendar
Cloning into 'wdCalendar'...
remote: Counting objects: 172, done.
remote: Total 172 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (172/172), 246.59 KiB | 0 bytes/s, done.
Resolving deltas: 100% (14/14), done.
Checking connectivity... done
$ git --version
git version 1.8.4
有幾個重要的變量,以確保配置:
@ user2413621我從我的私人回購中做了同樣的事情。再次檢查你的配置。
$ git config --global user.name "my name"
$ git config --global user.email "[email protected]"
$ git remote
origin << If nothing is listed here
$ git remote set-url --add upstream https://gitstuff.com/lalaa
如果您有正確的上游設置。我想use this tutorial page,以確保你有正確安裝的命令行工具。
來源
2014-11-14 21:14:28
mbb
在命令中是否是「my_username」是用戶名? – Geomorillo 2014-11-14 20:31:32
例如我想克隆wecalendar這是網址https://github.com/ronisaha/wdCalendar.git – Geomorillo 2014-11-14 20:35:11
你可以按照這裏的文檔https://help.github.com/articles/fork-a-repo/ – Geomorillo 2014-11-14 20:36:54