Git has a built in way to rebase all the way back to the beginning of time. There is no need to scroll through the log to find the first hash, or find the total number of commits. Just use --root
git rebase --root
Git has a built in way to rebase all the way back to the beginning of time. There is no need to scroll through the log to find the first hash, or find the total number of commits. Just use --root
git rebase --root
For further actions, you may consider blocking this person and/or reporting abuse
Sagar Pandey -
Neel Patel -
Douglas Makey Mendez Molero -
JSDev Space -
Top comments (3)
Jeez! In the case of an interactive rebase, you probably have to edit the TODO file for hours. :D
What does rebase mean? Is it a dangerous command? does it 'push' anything?
Rebase is changing history, and is usually used when you want to put your feature branch ahead of the master branch. It doesn't push anything automatically, you should do it manually afterward.
Maybe this podcast episode might be helpful.