DEV Community

Discussion on: How do y'all patch other people's PRs in your local dev env?

Collapse
 
nickgrim profile image
Nick Grimshaw

Is this assuming that the remote is Github?

Collapse
 
hoelzro profile image
Rob Hoelz

Yes - I should have mentioned this is specific to GitHub! I don't know if other hosting platforms implement PRs the same way (ie. refs on the main repo), but if they do (or to find out if they do), you can do git ls-remote origin to list all of the refs on the remote and see if any pattern emerges from the output.