每次检查存储库 url 时,我都必须进入 .git 文件夹并检查存储库 url 的配置。
有什么方法可以从 eclipse 中检查项目存储库 url。
最佳答案
(2014 年 6 月)请参阅“Remotes Repositories”部分或 EGit manual :
The "Remotes" node allows for browsing and editing Remote configurations.
Each Remote configuration has a name and either a Push Specification, a Fetch Specification, or both.If a "Remote Configuration" node or any of its children is selected, the Properties view will show a summary of the Remote configuration.
您应该在 Git Repositories
View 中看到上游 repo 的 url:
请注意,在命令行中,您可以键入:
而不是直接进入.git/config
git remote -v
2016 年 10 月更新,Git in Eclipse :
如“Pushing to other Repositories”中所述,您还可以在“Configure push url”对话框中看到远程 URL:
关于android - 如何在eclipse中检查项目的git存储库url?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24171915/