Creating patch files in git

Viewed 1373

I wanted to know whether it is possible to create patch files in git. I mean if I have done some changes in few files then patch file should be created with respect to the filename.

git diff displays the changes on the console but Is it possible to separate the output into different files?

2 Answers
Related