git小技巧(9)——避免提交时每次输入用户名和密码 避免每次提交改动时输入用户名和密码,可以使用下列命令: $ git config credential.helper store $ git push https://github.com/username/repo.git 参考资料: Git push: username, password, how to avoid?。