git 使用 http 免密拉取代码 ssh 配置 ssh 后,拉取和推送代码,可以免密非常方便 http 当使用 http/https 时,每次拉取和推送代码都需要输入账号、密码,非常繁琐 1、 git config --global credential.helper store 2、执行一次git 命令, git pull/push,输入一次账号密码后,下次就不需要了