Nice article!
Note that you can also use git config --global rebase.autosquash=true so that you do not need to add the --autosquash flag to all your git rebase commands.
git config --global rebase.autosquash=true
--autosquash
git rebase
Thanks!
That's true. Just make sure to add --no-autosquash to the git mri alias to get the same behavior.
--no-autosquash
git mri
Cool tip!
Just to clarify, it's git config --global rebase.autosquash true; having the = throws an invalid key error.
git config --global rebase.autosquash true
=
invalid key
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article!
Note that you can also use
git config --global rebase.autosquash=true
so that you do not need to add the--autosquash
flag to all yourgit rebase
commands.Thanks!
That's true. Just make sure to add
--no-autosquash
to thegit mri
alias to get the same behavior.Cool tip!
Just to clarify, it's
git config --global rebase.autosquash true
; having the=
throws aninvalid key
error.