Files
dotfiles/.config/zsh/autoload/git/git-checkout-worktree
Julian Prein 7c184ed11e git🐮 Fix GIT_DIR for submodules via git alias
Git sets some environment variables when executing a shell command.
Specifically it sets GIT_DIR when called inside a submodule. This makes
git inside the subshell target the main worktree instead of the
temporary one.
2025-09-15 14:24:36 +02:00

3.0 KiB
Executable File