Push the project associated with the existing remote code warehouse to another remote warehouse

First, Baidu search associates the local folder code with the remote warehouse, and then executes the command 

 Then we need to find the hidden folder and delete it, so that the current folder is not associated with the remote code warehouse

How to display the .git file first - how to see the hidden files of the folder

windows7

 Open folder and search options, open View, turn on the switch

 window10

 Click Options Click View

 The following is to execute the git command

 You need to build a branch in the remote warehouse, and then pull the code of the remote warehouse: git pull origin master

Use git status to view the status, you will see that there are many new files

 Then use git log to view the log

Guess you like

Origin blog.csdn.net/aZHANGJIANZHENa/article/details/131060789