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

注意,-C 要在命令之前

例如:

  git -C d:/testRepo status

转载于:https://www.cnblogs.com/ibingshan/p/10863177.html

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐