Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Using JGit as a web service with multiple users using same repository
Using JGit as a web service with multiple users using same repository [message #1841336] Wed, 12 May 2021 15:05
Heavens Regent is currently offline Heavens RegentFriend
Messages: 5
Registered: May 2021
Junior Member
I am attempting to use JGit as a web service. I have REST calls that perform different git operations. Each user will have a branch on the base repository. Is this possible through JGit or do I need to do something else.

I have a UI and when a user edits something JGit will save that to their branch. However the way I'm attempting to do it seems like I will have a lot of issues because if 2 users are using it at the same time, it would checkout User 1's branch, then checkout User 2's branch, and save and commit both files to User 2's branch. How would I be able to account for this?

[Updated on: Wed, 12 May 2021 19:53]

Report message to a moderator

Previous Topic:Unable to clone repo in ssh or https in 5.12
Next Topic:Eclipse EGit TFS Git Connection - Authentication not supported
Goto Forum:
  


Current Time: Thu Jun 24 10:35:21 GMT 2021

Powered by FUDForum. Page generated in 0.01587 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top