Git creates new warehouse related configuration


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]
 - git add .
 - git commit -m ""
 - git push origin master

Recommended Today

Detailed explanation of sshd service and service management command under Linux

sshd SSH is the abbreviation of secure shell, which is the security protocol of application layer. SSH is a reliable protocol which provides security for remote login session and other network services. SSH protocol can effectively prevent information leakage in the process of remote management. openssh-server Function: enable remote hosts to access the sshd service […]