Skip to content

Find a commit that includes a specific file #3047

Answered by martinvonz
BatmanAoD asked this question in Q&A
Discussion options

You must be logged in to vote

You can do jj log -r .. <path> to find any visible commits that touched the file. We unfortunately don't yet have a way of including all commits that have ever been visible (#2623). If you're in a colocated repo, you can probably do git log --all <path> to find it, since that will include all commits reachable from the refs/jj/keep/* refs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BatmanAoD
Comment options

BatmanAoD Feb 15, 2024
Collaborator Author

Answer selected by BatmanAoD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants