3 ms·
I almost always check the diff before committing (I use git diff --cached more often than plain git diff)
by berdario 12y ago
I almost always check the diff before committing (I use git diff --cached more often than plain git diff)
- eridius 12y ago`git config alias.staged 'diff --cached'` was the first alias I ever created. Even for one-line changes I compulsively check `git staged` before committing.