Reference since…

View details about all current remote libraries

git remote -v
Copy the code

You can commit all unsaved changes to the local repository first. You don’t have to do this

git commit -m "Change repo."
Copy the code

Methods a

#Solution: Change the remote address.Git remote add origin [YOUR new.git URL] [YOUR new.git URL] is YOUR NEW remote address, HTTPS/HTTP/SSH can be GIT push -u origin master # commit all codeCopy the code

Method 2

#Modify the addressGit remote set-url origin [YOUR new.git url] = YOUR NEW source addressCopy the code

Method 3 Modify the local repository.git/configfile

= =😁 Welcome to join the QQ group communication: [games -Web- development technology stack ☄️] ‘300567032’= = = =Click the icon below to join!= =