>vim .git-credentials https://{username}:{password}@github.com #gitlab或github地址
>git config --global credential.helper store >cat ~/.gitconfig [credential] helper = store