Filter file commits by revision range #63649
Replies: 1 comment 1 reply
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
The docs regarding the commit history of a specific file is quite small, essentially point where it is and referring to the official Git docs about History Simplification as a explanation of which commits are added.
But the page with the commit history of a file also supports multiple of the Commit Limiting options as query-string parameters. Using the same example file from the docs, we can build a URL filtering by a date range and commit author, equivalent maps to the command
git log --since=2022-07-01 --until=2023-01-01 --author=<author_email> -- README.md
.Could the parameters that are mapped from the query string be documented somewhere?
The
git log
command also accepts a revision range as an argument (not a flag, but a positional argument). Is there any query string parameter that maps to that argument? If there isn't, is this something that GitHub could consider?Beta Was this translation helpful? Give feedback.
All reactions