Last active
January 20, 2020 16:04
-
-
Save mgurov/2999b53a201006864e04 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
[user] | |
name = Mykola Gurov | |
[apply] | |
ignorewhitespace = change | |
[alias] | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all --date-order | |
gol = log --graph --oneline | |
# new = !git init . && git commit --allow-empty -m 'initial' | |
#via https://answers.atlassian.com/questions/179848/local-checkout-of-a-pull-request-in-stash | |
# prstash = "!f() { git fetch $1 refs/pull-requests/$2/from:$3; } ; f" | |
# cpush = "!f() { git commit -a -m $1 && git push origin HEAD:refs/heads/$1; } ; f " | |
# gitlab | |
mr = push -o merge_request.create -o merge_request.remove_source_branch | |
# gitlab | |
depl = push -o merge_request.create -o merge_request.merge_when_pipeline_succeeds -o merge_request.remove_source_branch | |
[color] | |
ui = true | |
diff = always | |
[color "decorate"] | |
head=black reverse | |
tag=blue | |
[core] | |
# excludesfile = ~/.gitignore_global | |
autocrlf = input | |
[log] | |
decorate = short | |
[credential] | |
helper = osxkeychain | |
#[url "https://"] | |
# insteadOf = git:// | |
[pull] | |
rebase = true | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment