Add .gitconfig
This commit is contained in:
commit
02f733c2a2
27
.gitconfig
Normal file
27
.gitconfig
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
[alias]
|
||||||
|
s = status
|
||||||
|
ss = status -s
|
||||||
|
sb = status -s -b
|
||||||
|
l = log --pretty=format:\"%C(auto) %d : %h - %an. %as (%ar) : %s\" --graph --decorate HEAD
|
||||||
|
lb = log --pretty=format:\"%C(auto) %d : %h - %an. %as (%ar) : %s\" --graph --decorate --branches
|
||||||
|
lr = log --pretty=format:\"%C(auto) %d : %h - %an. %as (%ar) : %s\" --graph --decorate --remotes
|
||||||
|
lt = log --pretty=format:\"%C(auto) %d : %h - %an. %as (%ar) : %s\" --graph --decorate --tags
|
||||||
|
ll = log --pretty=format:\"%C(auto) %d : %h - %an. %as (%ar) : %s\" --graph --branches --remotes --tags --decorate
|
||||||
|
llns = log --pretty=format:\"%C(auto) %d : %h - %an. %as (%ar)\" --graph --branches --remotes --tags --decorate
|
||||||
|
lg = log --pretty=format:\"%C(auto) %d : %h (%G?) - %an. %ar : %s\" --graph --branches --remotes --tags --decorate
|
||||||
|
lo = log --oneline
|
||||||
|
c = commit --no-gpg-sign
|
||||||
|
hash = log --format=\"%H\" -1
|
||||||
|
hash-time = log --format=\"%H %ct\" -1
|
||||||
|
branch-name = "!git rev-parse --abbrev-ref HEAD"
|
||||||
|
push-u = "!git push -u origin $(git branch-name)"
|
||||||
|
push-temp = "!git push -f origin $(git branch-name):refs/temp/$(git branch-name)"
|
||||||
|
push-delete-temp = "!git push origin :refs/temp/$(git branch-name)"
|
||||||
|
[push]
|
||||||
|
default = upstream
|
||||||
|
autoSetupRemote = true
|
||||||
|
[advice]
|
||||||
|
detachedHead = false
|
||||||
|
addIgnoredFile = false
|
||||||
|
[diff]
|
||||||
|
algorithm = histogram
|
||||||
Loading…
Reference in a new issue