Skip to content

Instantly share code, notes, and snippets.

@nordinrahman
Created April 19, 2017 15:01
Show Gist options
  • Select an option

  • Save nordinrahman/48a4c2928c258cb3f005165ee1029eea to your computer and use it in GitHub Desktop.

Select an option

Save nordinrahman/48a4c2928c258cb3f005165ee1029eea to your computer and use it in GitHub Desktop.
Git format-patch and apply
git format-patch -1 --stdout > patch.patch
git am --keep-cr patch.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment