git - Can I commit and push in Java from within the code? -


i have program automatically updates files website , periodically uploads them well. in past, uploaded files through ftp pretty simple , worked okay.

i have since moved github pages, , syncing website through github program manually simple, have no idea how automate within own program.

is possible update website within code, , if so, how go doing that?

use library (called jgit):

http://www.eclipse.org/jgit/


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -