Say I have uncommitted changes in my working directory. How can I make a patch from those without having to create a commit?
git diff for unstaged changes.
git diff
git diff --cached for staged changes.
git diff --cached
git diff HEAD for both staged and unstaged changes.
git diff HEAD