Clean untracked files git
Remove untracked files and directories (incl. gitignored)
git clean -fdx
more git
all 45 commands →
Fetch all remotes and prune
git fetch --all --prune --tags
Amend last commit message
git commit --amend -m 'new message'
Interactive rebase last N commits
git rebase -i HEAD~5
Stash with message
git stash push -m 'wip: feature-x' -- src/
Apply specific stash
git stash list && git stash apply stash@{2}