I am using Gitonomy libray Git lib to manipulate Git repository through php. I am to create patch file from a repository and there is no function for creating, reverting and applying patch files. There is a function named 'run' that can run git commands directly but they are ended up in exceptions. May be I am passing wrong arguments to the function. Can any one help me out in creating a patch files through Gitonomy Git lib Library. Following is the link of the library.
https://github.com/gitonomy/gitlib
Thanks and Regards, Furqan Ahmed.