vrish88 vrish88 - 1 month ago 7
Git Question

Create a git patch from the 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 create a commit?

Answer

git diff for unstaged changes. git diff --cached for staged changes.

Comments