-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
executable file
·31 lines (28 loc) · 964 Bytes
/
Copy pathgitconfig
File metadata and controls
executable file
·31 lines (28 loc) · 964 Bytes
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
[core]
sshCommand = ssh -i ~/.ssh/id_github -F /dev/null
[user]
email = mail@shcsed.local
name = shcsed
[init]
defaultBranch = main
[includeIf "gitdir:~/Git/College/"]
path = ~/Git/College/gitconfig
[includeIf "gitdir:~/Git/GitHub/"]
path = ~/Git/GitHub/gitconfig
[includeIf "gitdir:~/Git/Work/"]
path = ~/Git/Work/gitconfig
[alias]
lg = !git log --pretty=fuller
siglog = "!f() { \
git log --all --color --graph --pretty=format:'%C(bold yellow)<sig>%G?</sig>%C(reset) %C(red)%h%C(reset) -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(blue)<%an>%C(reset)' | \
sed \
-e 's#<sig>G</sig>#Good#' \
-e 's#<sig>B</sig>#\\nBAD \\nBAD \\nBAD \\nBAD \\nBAD#' \
-e 's#<sig>U</sig>#Unknown#' \
-e 's#<sig>X</sig>#Expired#' \
-e 's#<sig>Y</sig>#Expired Key#' \
-e 's#<sig>R</sig>#Revoked#' \
-e 's#<sig>E</sig>#Missing Key#' \
-e 's#<sig>N</sig>#None#' |\
more; \
}; f"