摘要:网络问题 git config --global http.proxy http://127.0.0.1:7897 git config --global https.proxy http://127.0.0.1:7897 当您使用 --global 标志时,Git 会将配置写入您的全局配置文件(通
阅读全文
posted @ 2025-07-12 10:48
|
|
|
随笔分类 - SourceTree
摘要:网络问题 git config --global http.proxy http://127.0.0.1:7897 git config --global https.proxy http://127.0.0.1:7897 当您使用 --global 标志时,Git 会将配置写入您的全局配置文件(通
阅读全文
posted @ 2025-07-12 10:48
摘要:在连接多个 Git 服务器且使用不同的账号时,没法用默认 id_rsa 密钥文件名了,容易产生冲突。 解决方法就是:为每个服务器生成不同的 SSH 密钥对,并使用 SSH 配置文件来管理这些密钥的使用。 具体步骤如下: 为每个账号生成不同的 SSH 密钥 你可以为每个 Git 服务器或账号生成一个单
阅读全文
posted @ 2024-09-09 10:36
摘要:sourcetree 的 git 密码存在 mac 的 钥匙串里面, 需要在钥匙串里删除掉对应信息,再次打开就会让你重新输入密码, 问题就解决了。参看: https://stackoverflow.com/questions/20953940/authentication-failed-to-bitbucket
阅读全文
posted @ 2018-04-18 14:45
摘要:SourceTree 默认使用的是全局缓存配置, 这个配置文件在 SourceTree –> Preferences –> Git –> Global Ignore List 可以看到。如下图: 如果想针对某个项目单独做,则请参考下面文章: http://www.ifeegoo.com/git-code-management-dot-gitignore-file-has-no-effec...
阅读全文
posted @ 2016-01-07 10:55
摘要:我用的是 SourceTree 作为Git客户端的,用它连接一个HTTPS证书过期的自建git服务,会收到下面错误: abort: error: _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedfatal: repository 'https://****/gu...
阅读全文
posted @ 2015-08-12 16:47
|
|