Ultra fast git commit
There are lots of aliases like
$ git ci -m "my awesome commit"  , 
$ git cm "a commit message" ,...
If you commit many times and often as I do, there are a few minuses:
  - repetitive commands 
  - quotes
  - escaping quotes
Wouldn't it be nice if you can just do:
$ gc this is my commit. I don't even have to add quotes
Well, you actually can. Paste this to your aliases, or .rc file:
gc() {
  git add .
  git commit -am "$*"
}Written by Marin Usalj
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Shell 
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#

 
 
 
 
