git commands related

First, the purpose:

1.1, has been built git repository, you need to import a git repository after the new local project, or to replace the existing git repository project

II: Procedure:

2.1 Project Initialization

 

 

 2.2, set the address of the warehouse

 

 

 2.3, see the address of the warehouse

 

 

 2.4 Diff local warehouse and remote warehouse project

 

 

 2.5, choose to submit items, write buffer git

ps: I chose to submit all

 

 2.6, submitted to the local repository

 

 

 

 

 2.7, pushed to the remote repository

Note: This command is used with caution, because I want to rebuild the repository was used

 

Guess you like

Origin www.cnblogs.com/jassa/p/12510614.html