-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
The command git commit
is not enough.
- If there are no staged changes, it fails
- If there are staged changes, it requires the user to write the commit message. There might not be enough time to do so.
What we need is git commit -am fire
. The switch -a
adds all changes in tracked files, switch -m fire
sets the commit message to "fire", which is of a low quality, but if is justified by the emergency. The un-tracked files are ignored.
P.S: I understand it's a meme, but it might save your work! Besides I think displaying it, points out the importance and benefits of version tracking.
Metadata
Metadata
Assignees
Labels
No labels