Generating a diff from Git. In this case, the diff is generated between the current branch and a remote branch.
git diff --full-index origin/branch
Example with remote branch called pp_project and saving the diff to the home directory
git diff --full-index origin/pp_intern_project > ~/mypatch.patch
June 10, 2014
Git