Skip to content

Instantly share code, notes, and snippets.

@daniel12fsp
Last active February 4, 2019 16:48
Show Gist options
  • Save daniel12fsp/ed674e903cf2cd2595b3461538ac9f3b to your computer and use it in GitHub Desktop.
Save daniel12fsp/ed674e903cf2cd2595b3461538ac9f3b to your computer and use it in GitHub Desktop.
Get path root from git project in whenever child directory your are working
git rev-parse --show-toplevel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment