-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
42 lines (42 loc) · 1.02 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
40
41
42
[core]
editor = vim
excludesfile = ~/.gitignore_global
[alias]
ci = commit -a -v
st = status -sb
br = branch
co = checkout
df = diff
dc = diff --cached
throw = reset --hard HEAD
throwh = reset --hard HEAD^
rb = rebase
lg = log --abbrev-commit --decorate --all --graph
ll = log --abbrev-commit --oneline --decorate --all
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
ign = ls-files -o -i --exclude-standard
branches = branch -a
branch-name = rev-parse --abbrev-ref --symbolic-full-name HEAD
remotes = remote -v
ac = !git add -A && git commit
lasttag = describe --tags --abbrev=0
[merge]
tool = vimdiff
[diff]
tool = vimdiff
[difftool]
prompt = false
[i18n]
commitEncoding = utf-8
[gui]
encoding = utf-8
[color]
ui = true
[push]
default = current
[url "[email protected]:"]
insteadOf = github:
[include]
path = .gitconfig.user