Как создать обратный патч (diff)? - PullRequest
0 голосов
/ 17 января 2020

У меня есть файл с патчем от 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 или онлайн предпочтительнее.

...