forked from UFund-Me/Qbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
35 lines (35 loc) · 1.09 KB
/
.gitconfig
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
27
28
29
30
31
32
33
34
35
[alias]
amd = commit --amend --no-edit
am = commit --amend
br = branch --sort=-committerdate
ci = commit
co = checkout
cp = cherry-pick
df = diff
drop = stash drop
# find cp from release branch
fcp = "!scripts/fcp.sh"
# push code to ci, it will rebase lastest master and then push
pci = !git fetch origin master && git rebase origin/master && git push
la = log --oneline --decorate --graph --all
last = log -1 HEAD --stat
ls = log --graph --pretty=format:'%Cred%h%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(yellow)%D%Creset' --abbrev-commit
lg = log --stat
pl = pull --rebase origin master
pop = stash pop
pr = pull --rebase --recurse-submodules
rc = rebase --continue
ri = rebase -i HEAD~10
root = rev-parse --show-toplevel
save = stash save
sl = stash list
st = status
sup = submodule update --init --recursive
unstage = reset HEAD --
[color]
ui = auto
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true