2016-06-08 34 views
0

我試圖將我的分支重定位到遠程主服務器上,並且我收到此消息,無論如何這意味着什麼?獲取「不指向有效提交」

git clone https://github.com/yaroslavvb/tensorflow.git 
cd tensorflow 
git checkout macbook 

git remote add tfmain https://github.com/tensorflow/tensorflow.git 
git fetch -a 

git rebase --onto tfmain/master 

fatal: Needed a single revision 
Does not point to a valid commit: tfmain/master 

回答

1

你可能是指

git fetch --all 
+0

感謝,這是它 –