Explain that it's possible to see files from before a git-blame-ignore-revs change #18195
Open
1 task done
Labels
content
Problems or updates in the docs content on docs.github.com.
waiting for review
Issue/PR is waiting for a writer's review
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file
What part(s) of the article would you like to see updated?
Users don't naturally understand how to see past a .git-blame-ignore-revs file:
github-community/community#5033 (comment)
It is possible to do it.
The steps are basically:
Open
/tree/<current-sha>
and browse to.git-blame-ignore-revs
and clickHistory
to find the shas that applied layers (or you could useBlame
to find the<sha>
that introduced things to ignore that you don't want to ignore).Then use
<that-sha>~
as the sha for the blame for the file that you want to view w/o the ignore rule.Additional information
No response
The text was updated successfully, but these errors were encountered: