Use git submit projects to GitHub

First, the implementation of the file to a local load GitHub

Execution git clone repositoryURLrepositoryURL as shown in the url (we do not take my experiments Ha </ humble>)
git repository address

Second, add information submitted

Execution git add .or .changed to add files
to use git statusto view the status of the current document to edit, red is not changed after addfile operations, green is submitted will modify the original file. If none of the documents indicates that no changes need to submit.

Third, submit

Execution git commit -m "提交信息"can also be changed to other issues such as git commit -asubmission of documents all changes here will be asked to fill out a window pop-up text to submit information, perform other options git commit -helpto view.
The last execution git push -u origin mastersubmitted to the GitHub repository masterbranch, if you want to submit other branches can make changes, the first submission should be asked to enter account number and password.

Published 50 original articles · won praise 32 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_40827780/article/details/93399812