Top "Git-patch" questions

How can I selectively merge or pick changes from another branch in Git?

I'm using Git on a new project that has two parallel -- but currently experimental -- development branches: master: import …

git git-merge git-cherry-pick git-patch
Create a git patch from the uncommitted changes in the current working directory

Say I have uncommitted changes in my working directory. How can I make a patch from those without having to …

git git-patch
How to apply a git patch from one repository to another?

I have two repositories, one is the main repo for a library, and the other is a project using that …

git patch git-submodules git-patch
How can I format patch with what I stash away

In git, I stash away my changes. Is it possible that I can create a patch with what I stash …

git git-stash git-patch
What does "1 line adds whitespace errors" mean when applying a patch?

I'm editing some markdown files of a cloned remote repository, and wanted to test creating and applying patches from one …

git whitespace patch git-patch
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 generate patch for all commits in a branch?

How can I generate patch for all commits in a given branch by knowing only the branch name? This step …

git git-branch git-patch
git: Patch does not have a valid e-mail address

I have a patch-file. I want to apply this patch to my code in git repository. When I used subversion …

git patch git-patch
Apply Bitbucket pull request as a patch

I've got a repo on Bitbucket that only I have write access to. Someone forked that repo, made changes and …

git bitbucket pull-request git-patch
git pull remote master in detached head

This has been bothering me about git. I have a repository with multiple remotes, and I need to apply hotfixes …

git git-patch git-detached-head