Thread (7 messages) flat view 7 messages, 6 authors, 2021-01-26

Re: Can not rebase to first commit

From: Matheus Tavares Bernardino <hidden>
Date: 2021-01-25 16:55:39

Hi, Eugen

On Mon, Jan 25, 2021 at 7:50 AM Eugen Konkov [off-list ref] wrote:
I can not rebase to first commit.

This is how to reproduce:

kes@work ~/work/projects/general/Auth $ git tree
* 67857d5 (HEAD -> dev) asdf
* 1e99034 (local/dev) Initial commit
kes@work ~/work/projects/general/Auth $ git rebase -i --autostash --rebase-merges 1e99034^
fatal: invalid upstream '1e99034^'
'1e99034^' means "the first parent of 1e99034". However, this is the
root commit of your branch, so it has no parent. That's why rebase
complained about  '1e99034^' being invalid. To rebase this commit you
can instead use the --root option.

Thanks,
Matheus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help