-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
39 lines (34 loc) · 1.01 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
36
37
38
39
[alias]
st = status
co = checkout
po = push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
poh = push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
fucked = !git add . && git commit -m "$1" && git push origin head
unfuck = reset --hard HEAD
[include]
path = ~/.gitconfig.os
path = ~/.gitconfig.user
[includeIf "gitdir:~/workspace/"]
path = ~/.gitconfig.user.ghec
[includeIf "gitdir:~/workspace/personal/"]
path = ~/.gitconfig.user.github
[includeIf "gitdir:~/workspaces/"]
path = ~/.gitconfig.user.github
[includeIf "gitdir:~/.local/share/yadm/repo.git"]
path = ~/.gitconfig.user.github
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false
# [commit]
# gpgsign = true
# [gpg]
# format = ssh
[fetch]
prune = true
[init]
defaultBranch = main