List all files changed in a pull request in Git/GitHub -
Is there any way (from the command line) to list the names of all the files, in the GIR / GITOB converted to PR has gone?
The CI Build runs these commands before calling our script:
GIT clone - Dipeth = 50 GIT: // जिथूब / जेके / जेकेले / Jakele / Jquil CD Jekyll / Jekyll Git Fetch Original + Riffs / Bridges / 2615 / Merge GIT Checkout - BFFETHHAD
In general, you can edit the git diff --name-only
:
(edited based on the explanation.)
Determine the problem 'merge base' here Seems to be If all branches are generated from the master, then you can do this:
git --no-pager diff --name-only FETCH_HEAD $ (git merge-base FETCH_HEAD master)
This will show you the changes between the point at which the FETCH_HEAD
from Master
to the existing FETCH_HEAD
was given. I tested it locally, and PR branches have been cut from guru
I believe this should work.
Comments
Post a Comment