码迷,mamicode.com
首页 > 其他好文 > 详细

git show (15)

时间:2020-07-07 18:09:59      阅读:59      评论:0      收藏:0      [点我收藏+]

标签:mon   ble   let   master   deletion   diff   stm32f4   count()   gui   

使用git show 查看特定提交涉及的文件

# git show 5cb95146bb29f94ee1faa3e1cdcff84bdbdc46ef --stat
commit 5cb95146bb29f94ee1faa3e1cdcff84bdbdc46ef (HEAD -> master, origin/master, origin/HEAD)
Author: lianghong <642936744@qq.com>
Date: Mon May 11 16:00:22 2020 +0800

enable tim3 and recode tim3 irq callback function and f429tim3_server.c


MDK-ARM/stm32f429igt.uvguix.admin | 133 ++++++++++++++++++++++++++++++++++++++++++----------------------------
MDK-ARM/stm32f429igt.uvoptx | 59 +++++++++++++++++++------------
MDK-ARM/stm32f429igt.uvprojx | 131 +++++++++++++++++++++++++++++++++++---------------------------------
Src/main.c | 2 ++
Src/stm32f4xx_it.c | 3 +-
7 files changed, 286 insertions(+), 141 deletions(-)

 

使用git show 查看特定提交指定文件的具体改动

# git show 5cb95146bb29f94ee1faa3e1cdcff84bdbdc46ef Src/stm32f4xx_it.c
commit 5cb95146bb29f94ee1faa3e1cdcff84bdbdc46ef (HEAD -> master, origin/master, origin/HEAD)
Author: lianghong <642936744@qq.com>
Date: Mon May 11 16:00:22 2020 +0800

enable tim3 and recode tim3 irq callback function and f429tim3_server.c

diff --git a/Src/stm32f4xx_it.c b/Src/stm32f4xx_it.c
index 0f705c8..578541a 100644
--- a/Src/stm32f4xx_it.c
+++ b/Src/stm32f4xx_it.c
@@ -193,7 +193,8 @@ void SysTick_Handler(void)
void TIM3_IRQHandler(void)
{
/* USER CODE BEGIN TIM3_IRQn 0 */
-
+ //extern void tim3_count();
+ //tim3_count();
/* USER CODE END TIM3_IRQn 0 */
HAL_TIM_IRQHandler(&htim3);
/* USER CODE BEGIN TIM3_IRQn 1 */

 

git show (15)

标签:mon   ble   let   master   deletion   diff   stm32f4   count()   gui   

原文地址:https://www.cnblogs.com/lianghong881018/p/13261821.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!