Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:git:creating_and_applying_patch_files [2014/09/29 16:45] – [applying a patch file] billhdocs:git:creating_and_applying_patch_files [2014/09/29 17:09] (current) – [applying a patch file (method 2)] billh
Line 18: Line 18:
  
 ===== applying a patch file (method 2) ===== ===== applying a patch file (method 2) =====
-First create a new branch:+This will add consecutive commits to your current branch, including the commit messages.  At the end of the patch, your working copy should be clean with a history of all applied commits.  First create a new branch:
 <code> <code>
 git checkout -b new-branch-name git checkout -b new-branch-name
  • docs/git/creating_and_applying_patch_files.1412030742.txt.gz
  • Last modified: 2014/09/29 16:45
  • by billh