You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `Resolving a merge conflict using the command line <https://help.github.com/en/articles/resolving-a-merge-conflict-using-the-command-line>`_
320
346
321
-
.. _git_from_mercurial:
347
+
.. _git_from_patch:
322
348
323
-
Applying a Patch from Mercurial to Git
324
-
--------------------------------------
349
+
Applying a Patch to Git
350
+
-----------------------
325
351
326
352
Scenario:
327
353
328
-
- A Mercurial patch exists but there is no pull request for it.
354
+
- A patch exists but there is no pull request for it.
329
355
330
356
Solution:
331
357
332
358
1. Download the patch locally.
333
359
334
360
2. Apply the patch::
335
361
336
-
git apply /path/to/issueNNNN-git.patch
362
+
git apply /path/to/patch.diff
337
363
338
364
If there are errors, update to a revision from when the patch was
0 commit comments