DEV Community

Discussion on: 10 Git Tricks to Save Your Time and Sanity

Collapse
 
sqlrob profile image
Robert Myers

git commit -v --amend

Do not do this if you've already pushed that commit. If a push ever requires --force, you need to think long and hard about whether or not it's something you should do.

One thing that I use a lot on Windows is Posh-git. It places branch, commit and index status in the command prompt