Top "Patch" questions

A patch is a piece of software designed to fix problems with, or update a computer program or its supporting data.

TortoiseHg Apply a Patch

TortoiseHg allows you to email a patch file of your changes to someone, but does it support applying patches? If …

mercurial patch tortoisehg
How to apply a Git patch to a file with a different name and path?

I have two repositories. In one, I make changes to file ./hello.test. I commit the changes and create a …

git filenames patch git-patch git-am
How to create patch between two tags with multiple commits between them?

I have two tags in my git in same branch. There are at least 5-6 commits between them. How can …

git patch
How to download a single commit-diff from GitHub?

I would like to get a single commit (let's call it ${SHA}) from GitHub via the web-interface. For example, something …

github diff patch git-diff
Creating a patch file from a diff of 2 folders

I made some changes to an open source project without taking time to create proper patch files. Now, the maintainer …

git diff patch
How to create a patch without commit in Git

I did some search online. I know that you can use format-patch after commit, but my situation is a little …

git patch
What is the difference between 'git format-patch and 'git diff'?

I don't see a difference between the output of 'git format-patch' and 'git diff', is there any? And won't I …

git diff patch
In git, how do I create a single patch for the last 2+ revisions?

I would like to create a patch for the last 2 revisions. git format-patch -2 gives me 2 patch files, one for …

git patch
How to create a patch file on windows?

On windows, I have two source files and want to create a patch with difference, like this one. But I'm …

patch
Can I split an already split hunk with git?

I've recently discovered git's patch option to the add command, and I must say it really is a fantastic feature. …

git split add patch