Git creates new warehouse related configuration

Time:2019-11-14

Today, when creating a new warehouse in GitHub, we encountered many unexpected problems. After checking many things, we can successfully save our small project to GitHub, so record the configuration process here.

Related commands

-Git clone [GitHub warehouse]
 - git init
 - git pull origin master
 - git remote add origin [email protected]github.com:username/repository.git
 - git add .
 - git commit -m ""
 - git push origin master