credential for git

1, 编辑~/.gitconfig文件怎加如下配置

    [credential]

               helper = store

2,执行 git pull。输入username, password.

3.检查~/.git-credentials文件就有记录了。

posted @ 2018-10-25 10:55  chenzhenqi  阅读(353)  评论(0编辑  收藏  举报