Thread (9 messages) flat view 9 messages, 3 authors, 2016-06-15

Re: switching upstream tips

From: Alex Riesen <hidden>
Date: 2016-06-15 22:46:45

2009/5/13 Ittay Dror [off-list ref]:
Alex Riesen wrote:
quoted
2009/5/13 Ittay Dror [off-list ref]:
quoted
tried git rebase, this is what i get:
git rebase -i upstream master
fatal: Needed a single revision
Invalid base
$ git checkout my-old-master-based-on-old-upstream
$ git rebase -i old-upstream
so i need to create an 'old-upstream' branch first, that is based on the tip
of the old-upstream remote, right? how?
no. Just use the remote reference. Should be something like
origin/master. It is the reference to the commit where to put your
commits on. You can use the SHA1 there, if you wish.
All the rebasing happens on and to that branch of yours
(my-old-master-based-on-old-upstream in the example above)
(thanks for the patience)
This patience is just about to end. Ever looked at the man pages?
"git help git" can be a good start.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help