git-truck
v5.0.0
Published
Visualizing a Git repository
Keywords
Readme
Git Truck 🚛
Git Truck is a local, interactive visualization workspace for Git repositories, built for inspecting a codebase through structure, commit activity, authorship, and history.
- Browse and zoom into the repository structure
- See who worked where, when and what they worked on
- Spot active areas of the codebase
- Explore how the codebase changed over time
Git Truck can assist you in quickly answering questions like:
| How is the repository structured? | Where has the project been active recently? |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
|
|
| Who has changed the most lines per file? | Where and when have specific contributors worked? |
|
|
|
Why Git Truck?
- Runs locally: no tracking, cloud storage, remote servers, ads, or subscription
- Works offline
- Works with any Git repository
Install
npm install -g git-truck@latestUsage
Open a repository:
cd path/to/repository
git truckOr pass a path directly:
git truck path/to/repository
git truck path/to/folder-with-repositoriesWhen the path contains multiple repositories, Git Truck opens a repository browser. Otherwise, it opens the visualization in your default browser.
Run git truck --help for advanced options.
Troubleshooting
- If the browser does not open automatically, copy or click the URL from the terminal.
- Large repositories can take a little while to analyze the first time and may feel slow to navigate and interact with.
