|
|
|
|
|
by larschdk
1861 days ago
|
|
Yes it does. I do the same, with an alias and have .git somewhere else not directly in $HOME, but pointing to it with --git-dir. If you run git in ~, it will not recognize it as a git repository or worktree. You can only modify the repo with the alias or by specifying --git-dir explicitly. These setup also prevents zsh/bash git prompt extensions from detecting git the the home folder repo, which can be confusing, I think. |
|