3 ms·
Yep, we're in the midst of doing code review here and can't get our commits to show up on the site.
by jmuguy 3y ago
Yep, we're in the midst of doing code review here and can't get our commits to show up on the site.
- CuriousCosmic 3y agofwiw 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.