Created
June 15, 2020 16:13
-
-
Save vladimir-light/9401d8484a995dc37b3ab87de3902ad4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
autocrlf = input | |
whitespace = cr-at-eol | |
[alias] | |
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ / | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
bra = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' | |
type = cat-file -t | |
dump = cat-file -p | |
ls = log --no-abbrev-commit --pretty=format:' * %C(yellow)%h%Creset %Cred%ad%Creset – %C(cyan)[%aN]%Creset – %s %Cgreen%d %Creset' --date=short #History in hübsch | |
logg = log --oneline --no-abbrev-commit --graph --decorate | |
cbr = symbolic-ref --short HEAD #aktuelle Branch | |
lastcommit = rev-parse HEAD | |
unpushed = log --graph --decorate --pretty=oneline --abbrev-commit @{u}..HEAD | |
stash-list = stash list --pretty=format:'%C(red)%h%C(reset) - %C(dim yellow)(%C(bold magenta)%gd%C(dim yellow))%C(reset) %<(70,trunc)%s %C(green)(%cr) %C(bold blue)<%an>%C(reset)' | |
local-branches = !git branch -vv | cut -c 3- | awk '$3 !~/\\[origin/ { print $1 }' | |
[pull] | |
rebase = true | |
[push] | |
default = tracking | |
[rebase] | |
autosquash = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment