Welcome to the git-viewer README. This tool helps you visualize your Git logs in an easy-to-understand way. You can see branch graphs, view diffs, and filter commits. Follow these steps to install and run the application on your local machine.
Visit the Releases Page
To get the latest version of git-viewer, visit this page to download. You will find the appropriate files there for your system.
Choose the Right File
Select the package that matches your operating system. For Windows, macOS, or Linux, there will be different options available.
Download the File
Click on the file to start the download.
Once youβve downloaded and installed everything, you can easily run git-viewer using the following commands.
View the Current Directory
To visualize the current directory, enter this command in your terminal:
pnpm dlx git-viewer
View a Specific Repository
If you want to view a specific repository, replace the path with your repositoryβs path. For example:
pnpm dlx git-viewer ~/projects/my-app
Access the Viewer
After running the command, open your web browser and navigate to:
http://localhost:44100
Here, you can see your branch graph, commit logs, and file diffs displayed visually.
git-viewer comes with several useful features:
Branch Graph Visualization
See your branches neatly laid out in a graph format.
Browse Local and Remote Branches
Explore all branches, making it easy to navigate.
Search Commits
Find specific commits using search filters by message, author, or SHA.
View Diffs
Look at the differences between changes in highlighted syntax.
Filter Commits by Branch
Easily narrow down the commits to your desired branches.
To ensure a smooth experience, please meet the following requirements:
git-viewer runs a local server that presents your Git history in your web browser. Once you run the application using the terminal, you can view your repositories directly.
Yes, git-viewer works on Windows, macOS, and Linux.
If you face issues during installation or running the application, please check that you have the correct versions of Node.js and Git installed. Make sure you have internet access too.
If you want to contribute to git-viewer, feel free to submit issues or pull requests on the GitHub repository.
For any help or questions about using git-viewer, please check the issue tracker or contact the maintainers through the repository.