Quantcast
Channel: How do I git rebase the first commit? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by sworisbreathing for How do I git rebase the first commit?

torek's answer is fine if you want to make changes to files that are already in the commit, edit the author/message, etc. But if you want to split the commit or anything like that, then chances are...

View Article



Answer by torek for How do I git rebase the first commit?

The easy way, with a recent-enough Git (this has been out for a long time now so you should have this):git rebase -i --rootThe other easy way, as twalberg noted in a comment that has since been deleted...

View Article

How do I git rebase the first commit?

I used git init to create a fresh repo, then made three commits. Now I want to rebase to go back and amend my first commit, but if I do git rebase -i HEAD~3 it shows error - fatal: invalid upstream...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images