Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/littlebee/git-time-machine
Atom package that allows you to travel back in commit history
https://github.com/littlebee/git-time-machine
Last synced: 4 days ago
JSON representation
Atom package that allows you to travel back in commit history
- Host: GitHub
- URL: https://github.com/littlebee/git-time-machine
- Owner: littlebee
- License: mit
- Created: 2015-10-17T00:19:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-01T02:38:19.000Z (over 3 years ago)
- Last Synced: 2024-12-04T03:03:49.304Z (18 days ago)
- Language: CoffeeScript
- Homepage:
- Size: 25.4 MB
- Stars: 1,117
- Watchers: 12
- Forks: 37
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-linux-dev - git-time-machine - Visually interact with git command history for a file. (Editors and IDE / Editors)
README
# git-time-machine package
git-time-machine is a package for [Atom](https://atom.io/) that allows you to travel back in time! It shows visual plot of commits to the current file over time and you can click on it on the timeplot or hover over the plot and see all of the commits for a time range.
![Gratuitous animated screenshot](https://raw.githubusercontent.com/littlebee/git-time-machine/master/resources/timemachine.gif)
To open the timeplot, just use the keyboard shortcut alt+t.
You can hold shift when clicking on the timeplot or popup to set the right side version. If there is no left side version, or the version shift clicked is older than the left version, the older version should always display on the left because, as we all know, time travels from left to right. :)
## Troubleshooting
Unfortunately, git-time-machine, like the other Atom `git log` services, needs to shell out to the command line git executable and parse its stdout. We are working on getting this information another way, but that may take some time. As you might imagine, this is problematic.
Some things to check:
- git command line utility needs to be in your path
- can you install and use git-log Atom package?
- it's been brought to my attention that some versions of git command line utilities (speculation: the version of git installed by github windows client) is not fully compatible with the official git client and doesn't support the pretty format needed to get the data to render the timeplot.
- Windows users: make sure the 'git/bin' directory is in your PATHSome users have reported seeing "Error: Command failed: git log --pretty=..." on mac when xcode license agreement is needed. Running `sudo xcodebuild -license` and accepting the agreement fixed the issued.
Recommend installing the official Git client from here: https://git-scm.com/downloads and make sure its binary is the one in your path.