Git Cheatsheet Tag git tag 12345 Creates a tag git tag -d 12345 Deletes local tag git push origin :refs/tags/12345 Deletes remote tag Branch git push origin --delete foo Deletes branch foo on remote Commit git commit --amend --no-edit Skips editing commit message