I personally used the git command

Use git clone a copy to a local Git repository: git clone url

Add all the files to the cache: git add.

Check local branch file information: git status

View document submitted to the buffer: git status -s

Documents submitted to the local buffer: git commit -m 'Remarks'

The main warehouse is pushed to a local file: git push -u origin master

The local version and the version number of the remote repository synchronization:git pull -r

Current local push files to online: git push

View the current situation branch: git branch

Submit changes feeder main line: git remote add origin https://github.com/xxx.git

Creating aaa branch: git branck aaa

Handover branch aaa: git chechout aaa

Aaa create local branches, while switching to aaa branch. Only when submitted will create a branch on the server: git chechout -b aaa

Everything in his subject:

https://www.runoob.com/w3cnote/git-five-minutes-tutorial.html

Guess you like

Origin www.cnblogs.com/laijinquan/p/11034227.html