-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
38 lines (38 loc) · 985 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
[core]
fileMode = false
excludesfile = ~/.gitignore_global
editor = vim
[push]
default = simple
[user]
name = Aldiantoro Nugroho
email = [email protected]
signinkey = 51BC40F26542DC6A
[color]
ui = true
[alias]
cancel = reset –soft HEAD^
la = log --pretty=\"format:%ad %h (%an): %s\" --date=short
oneline = log --pretty=oneline
lf = show --pretty="format:" --name-only
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
trim = "!f() { git branch --merged| grep -v \"\\*\" | xargs -n 1 git branch -D; }; f"
[github]
user = kriwil
[gitlab]
host = https://gitlab.com
user = kriwil
[commit]
gpgsign = true
[gpg]
program = /usr/local/bin/gpg
[remote "origin"]
prune = true
[pull]
rebase = false
[init]
defaultBranch = main
[credential "https://github.com"]
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper = !/usr/bin/gh auth git-credential