Git根据commitId查看提交内容:根据commitId查看某次提交的内容

命令

git show commitId

实操

$ git show 84ae75ffacaeda0ab88d2b6a0fb60ea804532b3a
commit 84ae75ffacaeda0ab88d2b6a0fb60ea804532b3a
Author: 7117 <[email protected]>
Date:   Tue Nov 17 16:41:08 2020 +0800

    ajax

diff --git a/YunPHP/app/default/action/carAction.php b/YunPHP/app/default/action/carAction.php
index fd2c47a..a85e4ef 100644
--- a/YunPHP/app/default/action/carAction.php
+++ b/YunPHP/app/default/action/carAction.php
@@ -1065,6 +1065,45 @@ class carAction extends Service
         _return(array('data' => $item));
     }

+    //ajax订单列表
+    public function ajaxOrderListMini()
+    {
+        echo "a";die();
+        $type = intval($_POST['type']);
+        if ($type) {
+            $sqlIn = ' and status=' . $type . ' ';
+        }
+        $violation = _class('violation');
+        $this->_initPDO();
+        $itemList = '';

猜你喜欢

转载自blog.csdn.net/fujian9544/article/details/110920480