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

View file

@ -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";
};
};