Created
June 6, 2018 12:09
-
-
Save barmic/b6de65cba1f1baf0453b581b88cfb443 to your computer and use it in GitHub Desktop.
Configuration git
This file contains 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
[user] | |
name = Michel Barret | |
email = michel.barret@inovatel.com | |
[push] | |
default = simple | |
[alias] | |
st = status --short --branch | |
co = checkout | |
br = branch | |
fetch = fetch --prune | |
pusho = push --set-upstream origin | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
clog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' | |
grog = log --graph --abbrev-commit --decorate --all --format=format:"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)" | |
mr = !sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' - | |
out = changes out | |
in = changes in | |
changelog = log --pretty=format:'%s' --abbrev-commit | |
sw = switch | |
[core] | |
autocrlf = input | |
[credential] | |
helper = store | |
[remote "origin"] | |
prune = true | |
[pull] | |
rebase = true | |
[rebase] | |
autoStash = true | |
[branch "master"] | |
mergeoptions = --no-ff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment