Using simple commands git

Cloning: $ git clone https://github.com/ path / sub path .git.

Synchronous about remote repository:
$ git pull Orgin Master

 

Uploaded to the warehouse

(Note: If you need to enter the specified folder) into the specified folder
$ cd ASA- /

① List files
$ ls

② add
$ git add.

③ uploaded to the warehouse to tag
$ git commit -m "added upload notes (usually time and Author)"

④ (Note: If you are not logged fill in your username and password to log ignore this step)

Tips fill in personal information account
$ git config --global user.email  "[email protected] "

Name
$ git config --global user.name "username"

⑤ small upload personal tag
$ git commit -m "Jing"

⑤ Push warehouse
$ git push -u origin master

 

Guess you like

Origin www.cnblogs.com/murphyzhang/p/11670670.html
Recommended