Last active
December 29, 2015 10:49
-
-
Save dshipp/7659897 to your computer and use it in GitHub Desktop.
Substitute to top level directory for the current git repository. Useful when you have aliases and scripts which need to work across all repositories and refer to some file relative to that repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(git rev-parse --show-toplevel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment