标签:class gtd log space branch ace sel 提交 现在
https://www.cnblogs.com/Amos-Turing/p/6285390.html
1:本地创建分支dev
1
2
|
Peg@PEG-PC /D/home/myself/Symfony (master) $ git branch dev |
2:下面是把本地分支提交到远程仓库
1
2
3
4
5
|
Peg@PEG-PC /D/home/myself/Symfony (master) $ git push origin dev Total 0 (delta 0), reused 0 (delta 0) To git@github.com:TuringTD /Symfony .git * [new branch] dev -> dev |
3:查看一下远程仓库有几个分支
1
2
3
4
5
6
7
|
Peg@PEG-PC /D/home/myself/Symfony (master) $ git branch -a dev * master *号代表你现在所在的分支 remotes/origin/HEAD -> origin/master remotes/origin/dev 远程仓库dev分支 remotes/origin/master 远程仓库master分支 |
标签:class gtd log space branch ace sel 提交 现在
原文地址:https://www.cnblogs.com/songyanan/p/10186755.html