-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_config.sample
25 lines (25 loc) · 1.12 KB
/
git_config.sample
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
[include]
path = /env/PC/include/gitconfig
path = k:/include/gitconfig
[scmcheck]
pcgitsetupcheck = true
pcgitsetuprev = 2
[user]
name = Jungho Park
email = [email protected]
[alias]
alias = !git config --global --list | grep ^alias
br = branch
ci = commit
co = checkout
dag = log -10 --oneline --graph --decorate --all
head = rev-list -n1 --abbrev-commit HEAD
hist = log --graph --format=format:\"%C(red)%h%C(reset) %C(yellow)%ad%C(reset) | %s %C(green)\\[%an\\]%C(reset)%C(bold blue)%d%C(reset)\" --abbrev-commit --date=short
ld = log -10 --pretty=tformat:\"%C(yellow)%h\\\\ %ad%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]%Creset\" --decorate --date=relative
lds = log -10 --pretty=tformat:\"%C(yellow)%h\\\\ %ad%Cred%d\\\\ %Creset%s%Cgreen\\\\ [%cn]%Creset\" --decorate --date=short
ll = log -10 --pretty=tformat:\"%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]%Creset\" --decorate --numstat
ls = log -10 --pretty=tformat:\"%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]%Creset\" --decorate
root = rev-parse --show-toplevel
st = status
[core]
editor = vim