[英]How do I remove a git repository from my computer while keeping the online version?
我有点像git的初学者,有什么好方法可以删除本地存储库但保留我的github备份? 提前致谢!
# upload all tags, branches to your remote
git push origin --all
# delete the local folder
git rm -rf .
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.