changeset 301:2a1eeec1b4ea

add a git root command
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 14 May 2013 13:25:45 -0700
parents a1c72313b3df
children 1a177f9b51d4
files .gitconfig
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.gitconfig	Sat May 11 17:55:17 2013 -0700
+++ b/.gitconfig	Tue May 14 13:25:45 2013 -0700
@@ -4,5 +4,6 @@
 	name = Jeff Hammel
 	email = jhammel@mozilla.com
 [alias]
+        branches = branch -a
+        root = rev-parse --show-toplevel
         st = status
-        branches = branch -a
\ No newline at end of file