如何创建反向补丁(差异)?

时间:2020-01-17 09:23:32

标签: git command-line-interface diff patch

我有git补丁文件。例如:

Index: resources/js/fields.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- resources/js/fields.js  (date 1579189331196)
+++ resources/js/fields.js  (date 1579189331196)
@@ -174,10 +174,8 @@
 )

 // Has Many Field...
-Vue.component(
-  'detail-has-many-field',
-  require('./components/Detail/HasManyField.vue')
-)
+Vue.component('detail-has-many-field', require('./components/Detail/HasManyField.vue'))
+Vue.component('index-has-many-field', require('./components/Index/HasManyField.vue'))

 // Belongs To Field...
 Vue.component(

如何获得相同的补丁程序,但回滚这些更改?首选CLI或在线。

0 个答案:

没有答案