New to JGit - need to embed git control in application [message #647195] |
Tue, 04 January 2011 23:24 |
Brian Messages: 6 Registered: January 2011 |
Junior Member |
|
|
My company is working on finishing our transition to git from svn. The last step is hooking up one of our applications to our "central" git repository (I know the term doesn't realy apply in git, but I mean the one that serves as the "origin" repo for all of our local repos).
So, that gives us JGit. However, from what I can find there isn't really a whole lot of documentation on how to actually use JGit as yet, official or otherwise, and so I was hoping somebody could help me out with some basics (as the application is only going to need very basic git operations).
So here's what I need to be able to do: initialize any necessary git containers/objects, pull (or fetch & merge) from origin, commit, and push to origin.
Anyway, if you can point me to some examples of doing this in an embedded fashion using jgit (not egit), or provide the examples here in this context, your help would be greatly appreciated.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03710 seconds