git log两个branch的不同
来源:互联网 发布:中文手写软件下载 编辑:程序博客网 时间:2024/05/16 11:31
可以通过下面的方法看出两个branch的不同
git log --oneline branch1 ^branch 2 可以比较出branch1 有的commit 而branch2 没有。反之既然
git log --oneline branch1...branch2 可以比较出branch1 比branch2 多提交的内容。
可见下面两个命令是相同的效果,一般我都用第一个
/kernel-dev$ git log --oneline kernel ^devm-4.9 drivers/gpio
f9c22ec gpio: Remove GPIO_DEVRES option
220a04f gpio: tc3589x: fix up .get_direction()
60f8339 gpio: do not double-check direction on sleeping chips
386377b gpio: pca953x: Move memcpy into mutex lock for set multiple
53f8d32 gpio: pca953x: Fix corruption of other gpios in set_multiple.
812d478 gpio/mvebu: Use irq_domain_add_linear
c7e9d39 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
kernel-dev$ git log --oneline --left-right kernel...devm-4.9 drivers/gpio< f9c22ec gpio: Remove GPIO_DEVRES option
< 220a04f gpio: tc3589x: fix up .get_direction()
< 60f8339 gpio: do not double-check direction on sleeping chips
< 386377b gpio: pca953x: Move memcpy into mutex lock for set multiple
< 53f8d32 gpio: pca953x: Fix corruption of other gpios in set_multiple.
< 812d478 gpio/mvebu: Use irq_domain_add_linear
< c7e9d39 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
git log --oneline branch1 ^branch 2 可以比较出branch1 有的commit 而branch2 没有。反之既然
git log --oneline branch1...branch2 可以比较出branch1 比branch2 多提交的内容。
可见下面两个命令是相同的效果,一般我都用第一个
/kernel-dev$ git log --oneline kernel ^devm-4.9 drivers/gpio
f9c22ec gpio: Remove GPIO_DEVRES option
220a04f gpio: tc3589x: fix up .get_direction()
60f8339 gpio: do not double-check direction on sleeping chips
386377b gpio: pca953x: Move memcpy into mutex lock for set multiple
53f8d32 gpio: pca953x: Fix corruption of other gpios in set_multiple.
812d478 gpio/mvebu: Use irq_domain_add_linear
c7e9d39 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
kernel-dev$ git log --oneline --left-right kernel...devm-4.9 drivers/gpio< f9c22ec gpio: Remove GPIO_DEVRES option
< 220a04f gpio: tc3589x: fix up .get_direction()
< 60f8339 gpio: do not double-check direction on sleeping chips
< 386377b gpio: pca953x: Move memcpy into mutex lock for set multiple
< 53f8d32 gpio: pca953x: Fix corruption of other gpios in set_multiple.
< 812d478 gpio/mvebu: Use irq_domain_add_linear
< c7e9d39 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
0 0
- git log两个branch的不同
- Git merge 不同的branch
- git merge不同branch文件
- 使用 git 将两个不同 branch 以差分包形式生成补丁
- Git branch的分析
- Git branch的分析
- git branch的使用
- 对比不同branch的命令
- git clone branch的项目
- git的branch以及merge
- 1-git branch的使用
- Git--branch分支的使用
- Git Branch分支的使用
- Git中branch、checkout、merge、log、tag命令介绍
- Git master branch has no upstream branch的解决
- git branch
- git branch
- git branch
- Hadoop-2.7.3集群(HA HDFS)搭建
- libiconv库链接问题一则
- thinkphp 分布式数据库 详解
- jquery操作input、select、checkbox、radio常用方法
- mac环境利用SDKMAN安装gradle
- git log两个branch的不同
- cloudera manager下的hive权限配置
- 微信小程序 - 干货集中营
- zookeeper详解
- android中Sqlite查询的数据返回排序问题
- swift 二维码识别的实现
- Flatten Binary Tree to Linked List
- linux下 gcc编译初学者使用教程
- day11--回顾