Just a brew package at this point, but feel free to suggest alternatives.
Just a brew package at this point, but feel free to suggest alternatives.
> skwp/git-workflows-book > .gitconfig appendix: https://github.com/skwp/git-workflows-book : > "Two useful aliases: unstage and uncommit": https://github.com/skwp/git-workflows-book#two-useful-aliase... :
[alias]
unstage = reset HEAD # remove files from index (tracking)
uncommit = reset --soft HEAD^ # go back before last commit, with files in uncommitted state
myst•5h ago
below43•4h ago
git config --global alias.uncommit 'reset --soft HEAD~1'