Skip to content

Instantly share code, notes, and snippets.

@phracek
Created September 5, 2018 07:45
Show Gist options
  • Save phracek/0a5ad6108aaa486b5c1b30fbef062fe3 to your computer and use it in GitHub Desktop.
Save phracek/0a5ad6108aaa486b5c1b30fbef062fe3 to your computer and use it in GitHub Desktop.
GitConfig
[user]
email = phracek@redhat.com
name = Petr \"Stone\" Hracek
[color]
ui = auto
[alias]
ci = commit --verbose -s
st = status
co = checkout
br = branch
pu = push
a = add
d = diff
r = reset
s = stash
[push]
default = matching
[mergetool "mymeld"]
cmd = meld --output $MERGED --diff $BASE $LOCAL --auto-merge $LOCAL $BASE $REMOTE --diff $BASE $REMOTE --label "old_sources" --label "merge" --label "new_sources"
[merge]
tool = mymeld
conflictstyle = diff3
[core]
editor = vim
[remote "origin"]
# github, pagure
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
# gitlab
fetch = +refs/merge-requests/*/head:refs/remotes/origin/mr/*
[remote "upstream"]
# github, pagure
fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*
# gitlab
fetch = +refs/merge-requests/*/head:refs/remotes/upstream/mr/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment