Home > php教程 > PHP开发 > body text

git common commands

高洛峰
Release: 2016-11-30 15:43:31
Original
1244 people have browsed it

Download the project

git clone https://git.oschina.net/jianqingwang/jianblog.git

Note that clone is following the project address

View branch (that is, version)

git branch

Download new update data (each time you submit code to git, you need to synchronize the data and then submit it again. This is similar to svn)

git pull origin master (master is my branch name)

Submit data to git (updated, you need to submit your own version)

第一条语句:git add . 
第二条语句:git commit -m "这里写备注的更新记录"
第三天语句:git push   
 第三条是上传库
Copy after login


Related labels:
git
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template