Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting "Does not point to a valid commit"

Tags:

github

I'm trying to rebase my branch onto a remote master, and I'm getting this message, any idea what this means?

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
like image 999
Yaroslav Bulatov Avatar asked Nov 28 '25 15:11

Yaroslav Bulatov


1 Answers

you probably meant

git fetch --all
like image 172
Gregg Avatar answered Nov 30 '25 05:11

Gregg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!