git force rebase прерван
git rebase --quit
Attractive Ape
git rebase --quit
# THIS TURNS YOUR WHOLE COMMIT HISTORY INTO ONE SINGLE COMMIT!
# BE CAREFUL!
git rebase --root -i
# In your editor, for each commit except the top, change `pick` to `squash`
Generally, it is an alternative of git merge command. Merge is always a forward changing record. Comparatively, rebase is a compelling history rewriting tool in git. It merges the different commits one by one.
$ git config --global core.editor "atom --wait"
git rebase <basebranch> <topicbranch>
git rebase -i -branch
# opens interactive rebase interface (more instructions needed
# to work with rebase) -i HEAD~3 #this is selecting 3x commits
# from the head (can change based on rebase)