Skip to content

Instantly share code, notes, and snippets.

@jayrambhia
Created April 22, 2013 17:02
Show Gist options
  • Save jayrambhia/5436734 to your computer and use it in GitHub Desktop.
Save jayrambhia/5436734 to your computer and use it in GitHub Desktop.
git patches
[22:27] <@xamox> If you have changes you want to keep, then I suggest formatting a patch
[22:27] <@xamox> git checkout develop
[22:27] <vighnesh> Okay, So ill reclone, put in my additions, and resend pull request ?
[22:28] <@xamox> git format patch develop mypersonal/develop > mychanges.patch
[22:28] <@xamox> You can always edit out of that patch file what you want to delete or keep
[22:28] <@xamox> then reclone
[22:28] <@xamox> then you can
[22:28] <@xamox> git apply patch mychanges.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment