Suspicious https://github.com/Homebrew/brew git origin remote found. The current git origin is: https://mirrors.ustc.edu.cn/brew.git
时间: 2024-01-01 07:06:31 浏览: 292
这个警告信息表示 Homebrew 在本地找到了一个名为 `git origin` 的远程仓库,但是当前的远程仓库实际上是 https://mirrors.ustc.edu.cn/brew.git。这可能是由于之前配置了不同的远程仓库导致的。
你可以使用以下命令查看当前的远程仓库:
```
git remote -v
```
如果当前的远程仓库确实是 https://mirrors.ustc.edu.cn/brew.git,你可以使用以下命令将 `git origin` 远程仓库删除:
```
git remote remove git origin
```
这样就可以消除警告信息了。
相关问题
unable to access 'https://github.com/Mas0nShi/typoraCracker.git/': The requested URL returned error: 403
There could be a few reasons why you are unable to access the GitHub repository at the URL you provided. One possible reason is that the repository owner has restricted access to certain users or is no longer available. Another reason could be that your IP address has been blocked by GitHub, either because of suspicious activity or violation of their terms of service.
If you are the owner of the repository, you can check your permissions settings to ensure that the repository is set to public or that you have granted access to any users who are having trouble accessing it. If you are not the owner, you may need to contact the owner or GitHub support for further assistance. Additionally, you could try accessing the repository from a different network or device to see if the issue is related to your current setup.
nginx: [warn] server name "http://139.159.219.74" has suspicious symbols in /usr/local/nginx/conf/nginx.conf:38
这个警告是由Nginx服务器的配置文件引起的,它指出在服务器名称中使用了可疑的符号。这种情况可能会导致一些安全问题,因为攻击者可以使用这些符号来尝试绕过服务器的安全措施。建议修改Nginx配置文件中的服务器名称,确保其不包含任何可疑符号。例如,将 "http://139.159.219.74" 修改为 "example.com" 或者其他合法的域名。
阅读全文