Upload new project on github git command codes

1.git init // initialization file git

2.git add. // add all the files to upload. "" Represent all

3.git remote add origin git ···· // git repository address

4.git commit -m "upload information Remarks"

5. git push // push

There in the fifth when an error may occur, specific solutions, will give the command-line prompt, execute the command given in accordance with, basically solve the problem you encountered

Guess you like

Origin www.cnblogs.com/shixingwen/p/11076312.html