Szeretnék létrehozni egy folt a különbség a helyi kódot, és a távoli eredetű.
Én ezt az:
git diff origin/myTestBranch > myPatch.patch
Bemegyek egy külön könyvtárba, hogy a klónozott azonos repo és csak húzta myTestBranch. Én ezt a
cd testPatchRepo
git clone ....
git checkout myTestBranch
Amikor megpróbálom telepíteni a javítást - nem sikerül! Miért? Létrehoztam egy patch pontosan abból a célból, hogy én alkalmazása olyan ...
Példaként itt része a folt:
diff --git a/source/tutorial/install.txt b/source/tutorial/install.txt
index 4e26a8b..5971efa 100644
--- a/source/tutorial/install.txt
+++ b/source/tutorial/install.txt
@@ -15,8 +15,6 @@ Install {+bi-short+} on macOS
:class: singlecol
.. include:: /includes/fact-bi-enterprise.rst
-sdfjsdlf
-This is Me!!!sdlfksjldfkj
To set up |bi|,
follow the steps on this page. kjhaskjfhakjsf gsgsdgsdgsdg sdfsdfsdf lsdjflsjdfsj
diff --git a/source/tutorial/install-bi-connector-windows.txt b/source/tutorial/install-bi-connector-windows.txt
index 5ef2cfc..cd0e36d 100644
--- a/source/tutorial/install-bi.txt
+++ b/source/tutorial/install-bi.txt
@@ -16,7 +16,7 @@ Install {+bi-short+} on Windows
.. include:: /includes/fact-bi-enterprise.rst
-Maddie 1
+Maddie 12
To set up |bi|,
follow the steps on this page.
És a hibaüzenet tartalmazza:
myPatch.patch:36: trailing whitespace.
error: patch failed: source/tutorial/install.txt:16
error: source/tutorial/install.txt: patch does not apply