Upload a file to github step

Right click and select Git Bash Here in the local project (git is already installed on premise equipment)

In the pop-up in this black box enter the following code:

$ Git clone own github repository address

$git init

Named after the warehouse empty file appears under the local project directory, copy the project to be uploaded into the file, and then perform the following steps:

$ git status

$ git add --all

$ Git commit -m "Remarks"

$ Git remote add origin own warehouse address

$ Git push -u origin master (there will be bomb box, fill in your github username and password)
 


 

Guess you like

Origin blog.csdn.net/yszbrzdd/article/details/93376552