vrish88 vrish88 - 1 year ago 137
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download