简体   繁体   English

如何在没有安装 Git 的情况下识别存储库 url?

[英]How to identify the repository url without Git installation?

How to identify the Github url to the downloaded repository without having the Git installed on the system?如何在系统上未安装 Git 的情况下将 Github url 识别到下载的存储库?

It depends on how you have downloaded the repository.这取决于您如何下载存储库。

If you have used the "Download zip" file from a GitHub repository , you can get the sources without having Git installed, but you don't have the full history, and you don't have the .git/config with the remote URL in it.如果您已使用GitHub 存储库中的“下载 zip”文件,则无需安装 Git 即可获取源代码,但您没有完整的历史记录,并且您没有远程 ZE6B3031A8D8B4D5845 的.git/config在里面。

So with just a copy of the sources, you cannot say for sure from which remote repository hosting site said sources are coming from.因此,仅使用源的副本,您无法确定所述源来自哪个远程存储库托管站点。

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

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