推送拉取的时候记住用户名密码
$ git config credential.helper store
$ git push http://example.com/repo.git
Username: <type your username>
Password: <type your password>
[several days later]
$ git push http://example.com/repo.git
[your credentials are used automatically]
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
查看远程仓库
git remote -v
1