Cloud uploads new code warehouse

1, a new login code cloud repository

2, fill in the name of the warehouse, the other to default

3, warehouse successfully created, jump to successfully interface

4, local installation gitGit-2.13.0-64-bit.exe (by default option can be installed)

5, create a folder on the local, as a work space in git

6, right click and choose Git Bash Here

 7, the installation was successful operation command prompt interface

  1) git config --global user.name "Tian small ultra"

  2) git config --global user.email "your email address"

  3) Create a local project and upload

    31、mkdir learning_space

    32、cd learning_space

    33、git init

      Then learning_space folder will appear a .git folder (if not, right click -> Show Hidden Files)

    34, Create Project

                     

    35, execute the command git add.

    36, execute the command git commit -m "Upload Project"

    37, git add origin of replication repository path you pasted in here (the page has been created when the warehouse)

      

    38、git push -u origin master

  

 

 carry out! ! ! ! !

 

Guess you like

Origin www.cnblogs.com/tianhaichao/p/12516387.html