本文介绍了如果我移动已推送的本地Git仓库,会发生什么情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
您可以安全地移动git-tracked目录(只要 .git
目录里面的其他内容一起移动)
Suppose I have a local Git repo that has already been pushed to some remote repository. What happens if I move that local repo to another local directory?
Absolutely nothing. The remote will still be tracked, and everything will still work.
You can safely move git-tracked directories (as long as the .git
directory inside moves along with everything else)
这篇关于如果我移动已推送的本地Git仓库,会发生什么情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!