Linux GitHub-如何检查用于克隆repo的用户?
几天前我克隆了特定的GitHub repo。当我转到Linux GitHub-如何检查用于克隆repo的用户?,linux,github,terminal,Linux,Github,Terminal,几天前我克隆了特定的GitHub repo。当我转到https://github.com/repo...-它已经不存在了 如何检查用于克隆repo的用户 我进入终端,进入一个repo被克隆到的文件夹,可以检查使用了哪个repo:git remote-v 但是当你试着这样做的时候: git config user.name git config --global user.name 什么也看不出来 如何查看用于克隆/提交此repo的用户?git remote-v应提供远程设备及其URL的列表,
https://github.com/repo...
-它已经不存在了
如何检查用于克隆repo的用户我进入终端,进入一个repo被克隆到的文件夹,可以检查使用了哪个repo:
git remote-v
但是当你试着这样做的时候:
git config user.name
git config --global user.name
什么也看不出来
如何查看用于克隆/提交此repo的用户?
git remote-v
应提供远程设备及其URL的列表,其中一个(可能是唯一的一个)应为“来源”这应该是您用来克隆的URL。github repo URL的格式如下htts://github.com//
。它是htts://github.com//
(例如https://github.com/facebook/react.git
)