feat: re-organise files dir
This commit is contained in:
90
home/.gitconfig
Normal file
90
home/.gitconfig
Normal file
@@ -0,0 +1,90 @@
|
||||
[user]
|
||||
name = Andrejus
|
||||
email = git@andrejus.uk
|
||||
|
||||
[github]
|
||||
user = andrejusk
|
||||
|
||||
[credential]
|
||||
helper =
|
||||
|
||||
[credential "https://github.com"]
|
||||
helper = !/usr/bin/env gh auth git-credential
|
||||
|
||||
[credential "https://gist.github.com"]
|
||||
helper = !/usr/bin/env gh auth git-credential
|
||||
|
||||
[init]
|
||||
defaultBranch = master
|
||||
|
||||
[core]
|
||||
autocrlf = input
|
||||
pager = delta
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[delta]
|
||||
navigate = true
|
||||
side-by-side = false
|
||||
line-numbers = true
|
||||
paging = always
|
||||
pager = less --mouse -R -+X -+F
|
||||
file-decoration-style = none
|
||||
file-style = "#2CB494" bold
|
||||
hunk-header-decoration-style = none
|
||||
line-numbers-left-style = "#2CB494"
|
||||
line-numbers-right-style = "#2CB494"
|
||||
plus-style = syntax "#0c2a24"
|
||||
plus-emph-style = syntax "#164a3c"
|
||||
|
||||
[merge]
|
||||
conflictstyle = zdiff3
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
|
||||
[color "status"]
|
||||
added = 42
|
||||
changed = 226
|
||||
untracked = 196
|
||||
branch = 45
|
||||
[color "diff"]
|
||||
meta = 91
|
||||
frag = 45
|
||||
old = 196
|
||||
new = 42
|
||||
context = 252
|
||||
[color "branch"]
|
||||
current = 45
|
||||
local = 252
|
||||
remote = 27
|
||||
[color "decorate"]
|
||||
branch = 45
|
||||
remoteBranch = 27
|
||||
tag = 226
|
||||
stash = 201
|
||||
|
||||
[alias]
|
||||
l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
|
||||
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
|
||||
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
|
||||
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
|
||||
le = log --oneline --decorate
|
||||
lg = log --graph --decorate --oneline
|
||||
d = diff
|
||||
ds = diff --stat
|
||||
dc = diff --cached
|
||||
s = status -s
|
||||
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
|
||||
a = add
|
||||
r = restore --staged
|
||||
ap = add -p
|
||||
c = commit --verbose
|
||||
ca = commit -a --verbose
|
||||
cm = commit -m
|
||||
cam = commit -a -m
|
||||
m = commit --amend --verbose
|
||||
st = stash
|
||||
sa = stash apply
|
||||
|
||||
Reference in New Issue
Block a user