Git tricks
Start Git with an empty:
# commitgit commit --allow-empty --message 'Initial commit'# messagegit commit --allow-empty-message --message ''# commit and messagegit commit --allow-empty --allow-empty-message --message ''Remove all local branches without current
git branch | grep -v `git branch --show-current` | xargs -r git branch -vD