Skip to content

step 1: git commit -am fire #5

@tomichec

Description

@tomichec

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions