git: More aliases!
This commit is contained in:
parent
2b8fa7099b
commit
2037cc4906
1 changed files with 11 additions and 3 deletions
|
@ -88,20 +88,28 @@
|
|||
|
||||
ga = "git add";
|
||||
gb = "git branch";
|
||||
gba = "git branch -a";
|
||||
gbd = "git branch -d";
|
||||
gc = "git commit";
|
||||
gcm = "git commit -m";
|
||||
gca = "git commit --amend";
|
||||
gcan = "git commit --amend --no-edit";
|
||||
gcl = "git clone";
|
||||
gcm = "git commit -m";
|
||||
gco = "git checkout";
|
||||
gcb = "git checkout -b";
|
||||
gcob = "git checkout -b";
|
||||
gcom = "git remote show origin | sed -n '/HEAD branch/s/.*: //p' | xargs git checkout";
|
||||
gf = "git fetch";
|
||||
gfp = "git fetch --prune";
|
||||
gl = "git pull";
|
||||
gla = "git pull --autostash";
|
||||
gp = "git push";
|
||||
gpf = "git push --force-with-lease";
|
||||
gr = "git reset";
|
||||
grs = "git reset --soft";
|
||||
gs = "git switch";
|
||||
gs = "git stash";
|
||||
gsa = "git stash apply";
|
||||
gsp = "git stash pop";
|
||||
|
||||
tigs = "tig status";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue