Hi all,
Vagrant Cascadian <vagr...@debian.org> writes:
When working with salsa.debian.org (a gitlab instance) there is
a way to
fetch all the merge requests for a given git repository, so it
just
becomes part of my normal workflow and to some extent works
offline. If
codeberg had a similar feature, that would be great!
Adding this line to the remote in .git/config will make PRs
visible locally:
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
Alternately, you can add a separate remote just for PRs:
[remote "pulls"]
url = g...@codeberg.org:org/reop.git
fetch = +refs/pull/*/head:refs/remotes/pulls/pr/*
The latter setup can speed some workflows, since you can choose to
fetch PRs or not.
These work for any Forgejo or Giteainstance, and I believe work
the same on GitHub/GitLab also.
-- Ian