mirror of
https://github.com/waylau/github-help.git
synced 2026-08-13 04:51:57 +08:00
add 为啥 git 总是要询问我的密码?
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Why is Git always asking for my password 为啥 Git 总是要询问我的密码
|
||||
===========
|
||||
|
||||
当你跟 Github 互动时,如果他老是要你输入密码,你可以使用 HTTPS 复制你的库的 URL.
|
||||
|
||||
使用 HTTPS 远程 URL 的优点有:它的设置比 SSH 更容易,而且通常是通过严格的防火墙和代理服务器。然而,这也提示你每一次你拉或推的一个仓库需要输入你的 GitHub 的凭据。
|
||||
|
||||
您可以配置的 Git 储存你的密码给你。如果你想设置的,阅读所有关于设置密码缓存。
|
||||
|
||||
*参考*:[https://help.github.com/articles/why-is-git-always-asking-for-my-password/
|
||||
](https://help.github.com/articles/why-is-git-always-asking-for-my-password/
|
||||
)
|
||||
Reference in New Issue
Block a user