-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
26 lines (25 loc) · 881 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[alias]
br = branch
ci = commit
co = checkout
d = diff
dc = diff --cached
del = !"`git gt-install-directory`/scripts/del.sh"
dt = difftool
gt-install = !"`git gt-install-directory`/scripts/gt-install.sh"
gt-install-directory = !dirname `git config --list --show-origin | grep alias.gt-install-directory | cut -f1 | cut -d":" -f2`
gt-update = !"`git gt-install-directory`/scripts/gt-update.sh"
list-aliases = config --get-regexp ^alias
p = push
pf = push --force-with-lease
pr = !gh pr create -w
s = status
sha = rev-parse HEAD
sl = log --oneline --decorate -20
sla = log --oneline --decorate --graph --all -20
st = status
unstage = reset HEAD --
up = !git fetch origin -p && git rebase origin/main --autostash && git submodule update --init --recursive
subst = !"`git gt-install-directory`/scripts/subst.sh"
xb = xbranch
xbranch = !"`git gt-install-directory`/scripts/xbranch.sh"