主要涉及命令:git merge、git branch -d
[root@localhost hgg]# git merge dev
更新 7d2d628..e864c61
Fast-forward
b.php | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 b.php
解释:当前工作区是“master”分支,使用命令合并了"dev"分支,
[root@localhost hgg]# git branch -d dev
已删除分支 dev(曾为 e864c61)。
[root@localhost hgg]# git branch
* master
[root@localhost hgg]#
解释:删除"dev"分支
网友评论