git - Do I need to enter my username and password every time I push to the remote repository?
滿天的星座
滿天的星座 2017-05-02 09:50:37
0
4
625

I remember not using it before. Is there something wrong?

滿天的星座
滿天的星座

reply all(4)
黄舟

Used https when adding the remote library. . So every time I have to use https to push to the remote library, the speed is still slow. .

View the transport protocol used:

git remote -v

Reset to ssh method:

git remote rm origin
git remote add origin git@github.com:username/repository.git
git push -u origin master
漂亮男人

git config --global credential.helper store

阿神
git config --global credential.helper "store"

You can see it in the .gitconfig file after configuration

PHPzhong

Because you are currently using the https submission method, just change it to the ssh method.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template