gg

Git like Mercurial

gg commit

gg commit [--amend] [-m MSG] [FILE [...]]

commit the specified files or all outstanding changes

Commits changes to the given files into the repository. If no files are given, then all changes reported by gg status will be committed.

Unlike Git, gg does not require you to stage your changes into the index. This approximates the behavior of git commit -a, but this command will only change the index if the commit succeeds.

Options

-amend
amend the parent of the working directory
-m message
use text as commit message

Aliases