Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (25 sloc) 1.08 KB

git-gps

A tool to track commits in a git repository by GPS coordinates.

Currently only works on OS X.

Motivation

For awhile now, I've wanted GPS logging of my checkins to source control systems. Between the CoreLocation framework on OS X and git's post-commit hooks, this is now possible.

Installation

Build the git-gps project, and put the resulting git-gps binary in /usr/local/bin.

Now, to start logging GPS on checkins in a checkout of a git repo, go to your repo and run:

git-gps init

Then, each time you commit to the repo, a post-commit hook will be run which updates the .git-gps file at the root of the repository and adds it to the commit.

This is very alpha-level software, so please file issues, etc.

Patches welcome!

Similar Projects

After writing this, I found out about geocommit, which does something very similar, except using git notes. The notes approach keeps the geo coordinates local until explicitly synced with the git remote. So, that would be more appropriate if you're concerned about privacy.

Something went wrong with that request. Please try again.