You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3 KiB
Plaintext

[user]
name = darkelfe14728
email = jul.rosset@gmail.com
[color]
diff = auto
status = auto
branch = auto
[alias]
co = commit
com = commit -m
coa = commit -a
coam = commit -am
ck = checkout
st = status
br = branch
brsa = "!f() { git push ${2-$(git config --get custom.serverbranch.remote)} ${2-$(git config --get custom.serverbranch.remote)}/${3-$(git config --get custom.serverbranch.branch)}:refs/heads/${1}; }; f"
brsd = "!f() { git push ${2-$(git config --get custom.serverbranch.remote)} :heads/${1}; }; f"
link = branch --track
lo = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset - %Cgreen%cr%Creset - %s' --abbrev-commit
ls = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset - %Cgreen%cr%Creset - %s' --abbrev-commit --stat
ln = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset - %Cgreen%cr%Creset - %s' --abbrev-commit -n
lns = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset - %Cgreen%cr%Creset - %s' --abbrev-commit --stat -n
uf = checkout --
cb = checkout
push = push --tags
untrack = rm --cached
[core]
editor = vim
autocrlf = false
[push]
default = current
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
[custom "serverbranch"]
remote = origin
branch = master