KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
From a script, how to determine the current GIT_DIR? If not overriden, it's just the top level dir or the top level dir of a bare repo. I want something like: [/git/repo1/subdir]$ git show-git-dir /git/repo1/.git
Tags (comma-separated)
Save Edits
Cancel