git: More aliases!

This commit is contained in:
Sijmen 2022-11-09 14:31:59 +01:00
parent 2b8fa7099b
commit 2037cc4906
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 11 additions and 3 deletions

View File

@ -88,20 +88,28 @@
ga = "git add"; ga = "git add";
gb = "git branch"; gb = "git branch";
gba = "git branch -a";
gbd = "git branch -d"; gbd = "git branch -d";
gc = "git commit"; gc = "git commit";
gcm = "git commit -m"; gca = "git commit --amend";
gcan = "git commit --amend --no-edit"; gcan = "git commit --amend --no-edit";
gcl = "git clone"; gcl = "git clone";
gcm = "git commit -m";
gco = "git checkout"; 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"; gl = "git pull";
gla = "git pull --autostash"; gla = "git pull --autostash";
gp = "git push"; gp = "git push";
gpf = "git push --force-with-lease"; gpf = "git push --force-with-lease";
gr = "git reset"; gr = "git reset";
grs = "git reset --soft"; grs = "git reset --soft";
gs = "git switch"; gs = "git stash";
gsa = "git stash apply";
gsp = "git stash pop";
tigs = "tig status"; tigs = "tig status";
}; };
}; };