The project submitted to step git remote repository
1. Installation git (windows system)
Official Download: https://git-scm.com/downloads
After the download is complete, click on Install:
Note: Click next, what do not move all the way to installation in the end
Create your own remote repository, as follows:
the need to fill after fill out the options, click Create you will see the following page:
1.1 After the installation is complete, right-click on the desktop Git Bash Here you can see the option to enter git convenient interface, as shown below:
2. Use these steps:
2.1 The first step: In the git interface cd
to enter their own projects, as shown below:
Step 2.2: inputting a first command git init
to initialize the warehouse, as shown below:
2.3 Step 3: Run command git remote add origin + '自己的远程仓库地址'
, as shown below:
2.4 Fourth step: run command git pull origin master
, the remote repository pull (pull) to a local project folder, as shown below:
2.5 Fifth Step: Run command git add .(.表示所有)
or git add + '文件名'
the item is pushed to a remote repository staging area, as shown below:
2.6 Step Six: run command git commit -m + '对提交的项目添加的描述'
, the item is pushed to a remote repository, as shown below:
###### 2 7. Step Seven: Run command git push origin master'
, the project will be submitted to a remote repository master
branch, as shown below:
At this point we go back yard cloud warehouse refresh will see amazing scene there!
Note: git simple to use, hoping to give the majority of programmers comrades brought meager help, thank you! ! !