-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
45 lines (39 loc) · 904 Bytes
/
.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
36
37
38
39
40
41
42
43
44
45
[user]
email = [email protected]
name = AshGw
signingkey = /home/ashgw/.ssh/github.pub
[core]
editor = nvim
[commit]
gpgsign = true
[gpg]
format = ssh
[init]
defaultBranch = main
[alias]
rf='reflog'
b='git branch'
a = add .
p = push origin
pu = pull origin
pprune = pull --prune
st = status
df = diff
c = commit -am
ci = commit -s
w = whatchanged --abbrev-commit
r = rebase -i
ls = ls-files
unadd = reset HEAD
unstage = reset HEAD --
last = log -1 HEAD
amend = commit --amend
l = log --graph --pretty=format:'%C(auto)%h -%d %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
review = log -p --max-count=1
lsr = ls-remote
cl = clone
ck = checkout
s = status
fa='add $(git ls-files --modified | fzf -m --preview "git diff --color -- {1}")'
[push]
default = current