Scoping emacs to a git root directory

| No Comments | No TrackBacks

I use git to manage almost all of my projects, and emacs for most of my development work. A lot of times, I want to scope functionality to a specific git repository. I hacked up the following function, that returns a buffer’s git root directory:

It’s especially useful in stuff like:

No TrackBacks

TrackBack URL: http://blog.uberweiss.net/admin/mt-tb.cgi/11

Leave a comment