Skip to content

Commit

Permalink
modify git
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverinn committed Jan 28, 2020
1 parent 2128da4 commit 02e33fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Git-ComdLine-REST.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
## Git

#### Git 常用命令
- ```git init```
- ```git clone```
- ```git remote add origin```
- ```git remote add origin ***.git```
- ```git push -u origin master```
- 推送到远程仓库的dev分支:```git push origin dev```
- ```git log```
Expand All @@ -26,6 +27,7 @@
- ```git commit -m "message"```
- ```git push```
- ```git pull```
- ```touch .gitignore```

#### Git 标签管理
- 首先切换到需要打标签的分支上,然后使用```git tag v1.0```就可以在当前commit打上v1.0的标签
Expand Down

0 comments on commit 02e33fa

Please sign in to comment.