mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
Added common git aliases.
git ci => git commit, git co => git checkout, git st => git status, git br => git branch
This commit is contained in:
parent
f96b6b45c0
commit
3732e4e98d
1 changed files with 4 additions and 4 deletions
|
@ -7,12 +7,12 @@ var Warning = Errors.Warning;
|
||||||
var CommandResult = Errors.CommandResult;
|
var CommandResult = Errors.CommandResult;
|
||||||
|
|
||||||
var shortcutMap = {
|
var shortcutMap = {
|
||||||
'git commit': /^gc($|\s)/,
|
'git commit': /^(gc|git ci)($|\s)/,
|
||||||
'git add': /^ga($|\s)/,
|
'git add': /^ga($|\s)/,
|
||||||
'git checkout': /^go($|\s)/,
|
'git checkout': /^(go|git co)($|\s)/,
|
||||||
'git rebase': /^gr($|\s)/,
|
'git rebase': /^gr($|\s)/,
|
||||||
'git branch': /^gb($|\s)/,
|
'git branch': /^(gb|git br)($|\s)/,
|
||||||
'git status': /^gs($|\s)/,
|
'git status': /^(gst|git st)($|\s)/,
|
||||||
'git help': /^git$/
|
'git help': /^git$/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue