-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diff between PR and master #160
Comments
|
This works, thanks! |
You're very welcome ;) |
This was referenced Feb 22, 2020
Closed
cyqsimon
added a commit
to cyqsimon/bat
that referenced
this issue
Nov 3, 2023
cyqsimon
added a commit
to cyqsimon/bat
that referenced
this issue
Nov 3, 2023
cyqsimon
added a commit
to cyqsimon/bat
that referenced
this issue
Nov 3, 2023
Fetch the base branch and diff correctly - See: actions/checkout#160 Improve organisation Add some echo for easier debugging Fix bad variable syntax Clarify the double-print in the success case
Enselic
pushed a commit
to sharkdp/bat
that referenced
this issue
Nov 3, 2023
* Added changelog item check Fetch the base branch and diff correctly - See: actions/checkout#160 Improve organisation Add some echo for easier debugging Fix bad variable syntax Clarify the double-print in the success case * Write to changelog * Don't block dependabot PRs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to obtain a diff between the current HEAD of a PR and the master branch.
I understand that
checkout
only fetches the latest revision of the current branch only, soI tried the approach to fetch all branches from the README.
This fails with
Running
git diff master HEAD
on a local copy of the repository works fine:What am I doing wrong?
The text was updated successfully, but these errors were encountered: