首页 > 技术文章 > git -C <other-git-repo-path> [git-command] 指定其它路径的仓库 执行命令

ibingshan 2019-05-14 16:58 原文

git -C <other-git-repo-path> [git-command] 指定其它路径的仓库 执行命令

注意,-C 要在命令之前

例如:

  git -C d:/testRepo status

推荐阅读