摘要: 上篇介绍到使用git bash命令行实现git rebase -i功能,本篇介绍一下使用PhpStorm编辑器如何实现git rebase -i 功能。 1、先选择自己的分支,查看提交日志,复制下需要合并的前一个commit版本号 2、点击鼠标右键,选择"Git->Repository->Rebas 阅读全文
posted @ 2020-02-29 14:35 幽篁晓筑 阅读(1220) 评论(0) 推荐(0) 编辑
摘要: 在实际开发中,经常会需要使用到git合并功能,git rebase可以将多个commit合并成为一个。这里主要介绍一下git rebase -i命令的使用: 一、使用git bash命令行实现 1、先查看提交日志,选择需要合并的前一个commit版本号 git log 2、使用git rebase 阅读全文
posted @ 2020-02-29 13:55 幽篁晓筑 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: 一般PHP中合并两个数组都会使用array_merge()例如: $data1 = ['111' => 'aaa', '222' => 'bbb', '333' => 'ccc']; $data2 = ['444' => 'ddd', '555' => 'eee', '666' => 'fff']; 阅读全文
posted @ 2020-02-29 11:18 幽篁晓筑 阅读(1869) 评论(0) 推荐(0) 编辑