We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29f6d0e + 41ebe0e commit d0636d2Copy full SHA for d0636d2
bin/git-ignore
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
2
3
-: ${GIT_DIR:=.git}
+: ${GIT_DIR:=$(git rev-parse --git-dir)}
4
5
function show_contents {
6
local file="${2/#~/$HOME}"
0 commit comments