The developer never writes a patch when using git. The developer creates a new repository state, links it to a parent state (or multiple parent states) and describes the difference between these states in the commit message. A patch form is just a handy way to visualize these changes.
You can dump commits into patches and then apply them onto different repositories, but in order to do that you still have to convert such patch into a new repository state first.
Many people "learn" git by learning which commands to use to do some things and in turn don't understand what's going on at all. It's like learning how to write a letter by reading Word's manual.
You can dump commits into patches and then apply them onto different repositories, but in order to do that you still have to convert such patch into a new repository state first.
Many people "learn" git by learning which commands to use to do some things and in turn don't understand what's going on at all. It's like learning how to write a letter by reading Word's manual.