Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suzannesoy/2010-git-history
script that allows you to view the different versions of a file and step forward / backward through them.
https://github.com/suzannesoy/2010-git-history
Last synced: 23 days ago
JSON representation
script that allows you to view the different versions of a file and step forward / backward through them.
- Host: GitHub
- URL: https://github.com/suzannesoy/2010-git-history
- Owner: SuzanneSoy
- License: other
- Created: 2010-08-19T03:35:28.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T20:07:52.000Z (over 6 years ago)
- Last Synced: 2024-05-21T12:11:29.436Z (6 months ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
git-history
===========Usage
-----Usage : sh git-hist.sh filename
You must be in a directory versionned with git for this to work.Features
--------At the moment, you can view previous, next, first, last version, scroll up, down & back to top.
Dependencies
------------* terminal with color & cursor movement ansi codes
* bash
* tput
* git
* unix tools : tail head nl tac cutBackground
----------I've been looking for a tool that would visually "replay" the programmer's work, like a 24h/24 screencast of their editor, but played at an accelerated speed. The aim is to :
1. See the evolution of the whole project.
2. See the evolution of the contents of a single file.[Gource](http://code.google.com/p/gource/) provides a soluion for aim #1, and Apple's "time machine" (Mac OS X) seems to provide something somehow related. But both seem to work with a granularity of files & folders, which is too big for aim #2 (I want to see the acual code being modified).
So I created a short script that allows you to navigate through the different versions of a single file.