littlebee / git-time-machine

Atom package that allows you to travel back in commit history
MIT License
1.12k stars 37 forks source link

git-time-machine package

git-time-machine is a package for Atom 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

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:

Some 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.