Skip to main content



      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 11:05
Eclipse UserFriend
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 15:53] by 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: Mon Jul 07 14:10:47 EDT 2025

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

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

Back to the top