Git analog of 'hg root'.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 23 Oct 2015 01:03:22 +0300
changeset 1771 b2d4be61da16
parent 1770 08de6eeb6339
child 1772 f2e72be1412b
Git analog of 'hg root'.
git.rst
--- a/git.rst	Wed Oct 21 19:46:12 2015 +0300
+++ b/git.rst	Fri Oct 23 01:03:22 2015 +0300
@@ -185,6 +185,12 @@
 
   $ git rebase -i $REV
 
+Git analog of 'hg root'.
+========================
+::
+
+  $ git rev-parse --show-toplevel
+
 Debug git network operation.
 ============================