繁体   English   中英

如何检查存储库是来自 SVN 还是 Git?

[英]How to check if the repository is from SVN or Git?

我们正在研究一种浏览本地存储库的解决方案,需要确定它是来自 SVN 还是 Git。

You can check the presence of the folders .svn and .git , or issue the commands svn info and git info on the repository folder in otder to get a successfully feedback.

检查签出存储库根目录中是否存在.git文件/文件夹或.svn文件夹。

或者,使用 git/svn 库并尝试在给定路径上对其进行初始化。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM