![](/img/trans.png)
[英]How to check out and apply java patches from eclipse git repository?
[英]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.