Quick tip: Zsh uses the ^ character as a reserved character. So, if you want
to do something like git reset --soft HEAD^
, you have to escape the slash:
git reset HEAD\^1
Found here — thanks, wereHamster
Quick tip: Zsh uses the ^ character as a reserved character. So, if you want
to do something like git reset --soft HEAD^
, you have to escape the slash:
git reset HEAD\^1
Found here — thanks, wereHamster