Reputation: 383
Can anyone tell me the difference between:
git commit -a -m
and
git commit -am
Upvotes: 1
Views: 116
Reputation: 14061
They can be combined as discussed in the gitcli
[command line interface] help page git help cli
, and in the git rev-parse --help
page
Upvotes: 0
Reputation: 138012
It's a pretty standard *NIX convention that single-dash arguments which don't require any parameters, can be combined into a single argument
Upvotes: 2
Reputation: 152787
The latter requires two keystrokes less. Functionally they are equivalent.
Upvotes: 4