Live data from Hacker News

GitHub is investigating an incident with Pull Requests, Issues and Webhooks

githubstatus.com

1–10 of 61 posts

Re: GitHub is investigating an incident with Pull Requests, Issues and Webhooks

#10
post #2

Yep, we're in the midst of doing code review here and can't get our commits to show up on the site.

fwiw pull requests heads can be accessed locally via

```

${remote}/pull/${ID}/head

```

where remote is the git remote for the repo (probably `origin`) and id is the pull request number. You may need to fetch to get the up to date head and if it still doesn't work, try just fetching the ref directly from the remote.

You can then diff against main/master, try merging into main, etc. which should give you everything you need to code review.

If you want to diff the current branch against main/master at the branch point, you can do:

```

git diff $(git merge-base --fork-point master)

```

That will diff against the point in history where the branch diverged.

Post reply on HN