我需要在后台执行任何 cd 命令之后运行 git fetch,并且仅当我位于 git 目录中时。
bash zsh git cd-command
bash ×1
cd-command ×1
git ×1
zsh ×1