You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
github-help/Why is Git always asking fo...

13 lines
888 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Why is Git always asking for my password 为啥 Git 总是要询问我的密码
===========
当你跟 Github 互动时,如果他老是要你输入密码,你可以使用 HTTPS 复制你的库的 URL.
使用 HTTPS 远程 URL 的优点有:它的设置比 SSH 更容易,而且通常是通过严格的防火墙和代理服务器。然而,这也提示你每一次你拉或推的一个仓库需要输入你的 GitHub 的凭据。
您可以配置的 Git 储存你的密码给你。如果你想设置的,阅读所有关于[设置密码缓存](https://github.com/waylau/github-help/blob/master/Caching%20your%20GitHub%20password%20in%20Git%20%E4%BF%9D%E5%AD%98%E4%BD%A0%E7%9A%84%20Github%20%E5%AF%86%E7%A0%81.md)。
*参考*[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/
)