initial commit
This commit is contained in:
49
gitconfig
Normal file
49
gitconfig
Normal file
@@ -0,0 +1,49 @@
|
||||
#---------------------------
|
||||
#-- .gitconfig --
|
||||
#-- by shane --
|
||||
#-- CC BY-SA 3.0 --
|
||||
#---------------------------
|
||||
[user]
|
||||
email = shane@shaner.life
|
||||
name = Shane Peters
|
||||
[color]
|
||||
ui = true
|
||||
[alias]
|
||||
st = status -s
|
||||
ci = commit
|
||||
br = branch
|
||||
co = checkout
|
||||
df = diff
|
||||
lg = log -p
|
||||
pl = pull
|
||||
ps = push
|
||||
timeline = log --graph \"--pretty=format:%C(192)%h%Creset by %C(bold 239)%an%Creset (%ar)%C(182)%d%Creset%n%s%n%b\" --all
|
||||
ctimeline = log --graph --format=format:\"%C(yellow)%h%C(red)%d%C(reset) - %C(bold green)(%ar)%C(reset) %s %C(blue)<%an>%C(reset)\"
|
||||
stag = add -u
|
||||
unstag = reset HEAD --
|
||||
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f "
|
||||
[core]
|
||||
pager = delta
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[merge]
|
||||
conflictstyle = zdiff3
|
||||
|
||||
[pager]
|
||||
pager = delta
|
||||
diff = delta
|
||||
show = delta
|
||||
|
||||
[delta]
|
||||
navigate = true # use n and N to move between diff sections
|
||||
# dark = true
|
||||
# light = true
|
||||
line-numbers = true
|
||||
side-by-side = true
|
||||
line-numbers-left-format = "{nm:>4}┊"
|
||||
line-numbers-right-format = "{np:>4}│"
|
||||
|
||||
[init]
|
||||
defaultBranch = master
|
||||
Reference in New Issue
Block a user