-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
36 lines (36 loc) · 891 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
[user]
email = [email protected]
name = yuta100101
[core]
editor = vim
quotepath = false
ignorecase = false
filemode = false
[alias]
ss = status
ck = checkout
cm = commit
sw = switch
lol = log --graph --oneline --remotes --branches --decorate=auto --all
br = branch
fixit = commit --amend --no-edit
fol = !git fetch && git lol
sha = "!f() { git rev-parse \"${1-HEAD}\"; }; f"
unadd = restore --staged
sq = "!f() { git rebase -i HEAD~"$1"; }; f"
[commit]
verbose = true
[push]
autoSetupRemote = true
[fetch]
prune = true
[merge]
conflictStyle = diff3
[submodule]
recurse = true
[color "grep"]
match = red
linenumber = bold white
filename = yellow
[include]
path = ~/.gitconfig.pager