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

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

注意,-C 要在命令之前

例如:

  git -C d:/testRepo status

posted @ 2019-05-14 16:58  ibingshan  阅读(1245)  评论(0编辑  收藏  举报