mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
[git/config] Fetch also merge requests on GitLab and pull requests on Github
This commit is contained in:
parent
89389abf33
commit
c3dcd8c03f
1 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,14 @@
|
||||||
enabled = true
|
enabled = true
|
||||||
[branch]
|
[branch]
|
||||||
autoSetupMerge = always
|
autoSetupMerge = always
|
||||||
|
# Fetch also the merge requests data for common remotes
|
||||||
|
# GitHub uses the "pull" space, GitLab the "merge-requests"
|
||||||
|
[remote "origin"]
|
||||||
|
fetch = +refs/pull/*/head:refs/remotes/origin/pull/*
|
||||||
|
fetch = +refs/merge-requests/*/head:refs/remotes/origin/merge-requests/*
|
||||||
|
[remote "upstream"]
|
||||||
|
fetch = +refs/pull/*/head:refs/remotes/upstream/pull/*
|
||||||
|
fetch = +refs/merge-requests/*/head:refs/remotes/origin/merge-requests/*
|
||||||
[diff]
|
[diff]
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[difftool]
|
[difftool]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue