Local git repository from http / https ssh into verification verify

reason

One day from a warehouse https / http: // sssss.git;

git clone https / http: // sssss.git locally.

git pull normal operation

When each git add, git commit, git push will pop up to fill in the account password box;

Trouble trouble trouble...

The following operations can be

git remote -v view the current warehouse remote address configuration

then

1. git remote rm origin deleted remote address configuration

2. git remote add origin [email protected]

3. git push prompt, enter the following command to

git push --set-upstream origin master

Published 25 original articles · won praise 11 · views 50000 +

Guess you like

Origin blog.csdn.net/gzyzwx/article/details/103977371