Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step 1: git commit -am fire #5

Open
tomichec opened this issue Sep 22, 2023 · 0 comments
Open

step 1: git commit -am fire #5

tomichec opened this issue Sep 22, 2023 · 0 comments

Comments

@tomichec
Copy link

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.

@tomichec tomichec mentioned this issue Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant