Geolocation for git
Geocommit allows you to attach geolocation information to your commits for later analysis.
Everything happens on your machine to protect your privacy, you you need to push the geo annotations explicitly if you want to share them with others.
Use pip (or easy_install):
pip install --upgrade geocommit
(If you don’t have pip yet, use easy_install pip to get it.)
Geo-enable a repository (installs a few hooks that enable keep track of your location for this repository):
git geo setup
Attach geo-information to HEAD:
git geo note
Fetch geolocation information from remote:
git geo fetch
Fetch and merge geolocation information:
git geo sync
git clone https://github.com/peritus/geocommit.git python bootstrap.py ./bin/buildout
We store a number of keys with values in git notes or hg commits. There is a long and a short format. Both define a set of key/value pairs in no particular order. The format version defines the allowed keys.
<version> is a version number of the format x.y <key> is an alphanumeric lowercase identifier without spaces or other special characters except _ and - <value> must not contain a linebreak, “,” or “;”
The short format is: geocommit(<version>): <key> <value>, …, <key> <value>;
The long format is, terminated by an empty line:
geocommit (<version) <key>: <value> … <key>: <value>