Closed cleberjamaral closed 4 years ago
We added the commit method. In a very simple way it is doing the same as the command line: $ commit -am "custom message given by client", i.e., it is committing all modifications and deletions, but not the added files.
Added push method using a simple way to retrieve user credentials. A file called push.temp must have git username on the first line and git password in the second line.
Example of push.temp file: bob@email.com a_secret
A further issue may be open to improve this function, especially related to HTTPS support for secure transfer of credentials.
In order to facilitate collaboration, provide integration with git maybe using JGit: https://git-scm.com/book/uz/v2/Appendix-B%3A-Embedding-Git-in-your-Applications-JGit