DEV Community

Discussion on: 5 Great Git CLI Shortcuts

Collapse
 
willsmart profile image
willsmart

A nice one is

alias gdammit='git --amend --no-edit'

For those times you were just too quick on the trigger, and want to add some additional staged files to your last commit.

Feel free to use a different alias, like goops or gredo ๐Ÿคจ

Collapse
 
jrgould profile image
Jeff Gould

I've been meaning to add one like this - thinking gcrap or gdoh, or maybe just gc!