Merge pull request #32 from lkysow/master

Added common git aliases to shortcuts.
This commit is contained in:
Peter Cottle 2013-02-18 07:37:16 -08:00
commit 25b1cda900

View file

@ -7,12 +7,12 @@ var Warning = Errors.Warning;
var CommandResult = Errors.CommandResult;
var shortcutMap = {
'git commit': /^gc($|\s)/,
'git commit': /^(gc|git ci)($|\s)/,
'git add': /^ga($|\s)/,
'git checkout': /^go($|\s)/,
'git checkout': /^(go|git co)($|\s)/,
'git rebase': /^gr($|\s)/,
'git branch': /^gb($|\s)/,
'git status': /^gs($|\s)/,
'git branch': /^(gb|git br)($|\s)/,
'git status': /^(gst|git st)($|\s)/,
'git help': /^git$/
};