Skip to content

How to get a given Pull Request (PR)

Giloo edited this page Feb 1, 2023 · 3 revisions

If you wan to try a given Pull Request, you have to use a special syntax. Modern tool with simple syntax is available now (gh) but in Debian 10, it is not availalble :

  • the good old way : Assuming the PR you want to test is number 9999 (for the name pr9999 you can use want you want)
git clone --recursive https://github.com/gnudatalanguage/gdl/
cd gdl
git fetch https://github.com/gnudatalanguage/gdl pull/9999/head:pr9999
git checkout pr9999
git clone --recursive https://github.com/gnudatalanguage/gdl/
gh pr list           # to have the list of pending PR
gh pr checkout 9999  # assuming PR 9999 is in the previous list
Clone this wiki locally