Git File History is a lightweight, standalone tool that allows you to view all commits affecting a specific file.
- View commit history for a specific file.
- Page through commits to see changes.
go install github.com/ceuk/git-file-history@latest
npm i -g git-split-diffs
Download the latest release from the releases page.
Install the git-file-history
package from the AUR.
To use Git File History, simply run the command followed by the relative file path you want to inspect:
git-file-history <relative file path>
j
: Scroll downk
: Scroll upenter
: View the diff of the selected commit.q
: Quit the application.
j
: Scroll diff downk
: Scroll diff upshift+k
: Go to the previous commit.shift+j
: Go to the next commit.g
: Go to the top of the diff.G
: Go to the bottom of the diff.q
: Go back to the list view.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to open issues or submit pull requests on GitHub.