mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-13 08:04:27 +02:00
Merge pull request #32 from lkysow/master
Added common git aliases to shortcuts.
This commit is contained in:
commit
25b1cda900
1 changed files with 4 additions and 4 deletions
|
@ -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$/
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue