Quantcast
Channel: Code Yarns » git
Viewing all articles
Browse latest Browse all 12

Git: Generating a Patch for your Commit

$
0
0

You have cloned an online Git repository, ran into a bug, found the cause, fixed it and committed it. Now, you want to submit the patch of the fix to the maintainer. The Git incantation to do this is:

git format-patch origin/master

This creates a patch file that the maintainer can pull into his Git repository.

Tried with: Git 1.7.4


Tagged: diff, git, patch

Viewing all articles
Browse latest Browse all 12

Trending Articles