aboutsummaryrefslogtreecommitdiff
path: root/.config/git/config
diff options
context:
space:
mode:
authorNicholas Tay <nicholas.tay@monash.edu>2022-05-06 12:23:28 +1000
committerNicholas Tay <nicholas.tay@monash.edu>2022-05-06 12:23:28 +1000
commit069f1e0b71df5e23e1c5121e5f1c128f1b82a438 (patch)
tree482e8128c90f54ac186de7e54b4f5ca4d69f21e8 /.config/git/config
parentcdb0a01691154e34a54fac8f10cb6291883a2011 (diff)
downloaddotlite-069f1e0b71df5e23e1c5121e5f1c128f1b82a438.tar.gz
dotlite-069f1e0b71df5e23e1c5121e5f1c128f1b82a438.tar.bz2
dotlite-069f1e0b71df5e23e1c5121e5f1c128f1b82a438.zip
git + zsh updates
Diffstat (limited to '')
-rw-r--r--.config/git/config28
1 files changed, 25 insertions, 3 deletions
diff --git a/.config/git/config b/.config/git/config
index 9fd60e5..240532b 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -2,17 +2,39 @@
name = Nicholas Tay
email = nick@windblume.net
[alias]
- c = commit
p = push
+ pu = push -u
+ puo = push -u origin
+ pf = push --force-with-lease
+ pff = push -f
+ pl = pull
+ plr = pull --recursive
+ f = fetch
+ fo = fetch origin
s = status
su = status --untracked-files=normal
sua = status -u
+ r = remote
rv = remote -v
+ rb = rebase
+ rbi = rebase -i
a = add
aa = add .
co = checkout
- cam = commit -a -m
+ cob = checkout -b
+ cod = checkout development
+ com = checkout master
+ c = commit
+ ca = commit -a
cm = commit -m
+ cam = commit -a -m
+ camd = commit --amend
d = diff
- cob = checkout -b
+ dc = diff --cached
l = log
+ m = merge
+ rl = reflog
+ res = restore --staged
+ ress = restore
+[core]
+ excludesfile = $HOME/.config/git/gitignore