I'm afraid I'm not entirely sure what you're asking.
Are you saying the clone times of the EGit repository in Stash is unexpectedly slow? Could you tell us how slow the clone is, and how big the repository is? Are you cloning over a slow network? Is the Stash server under much load? Is there anything in the Stash logs to indicate something is not behaving as expected?
Sorry for all the questions.
I'm sorry the description unexpected.
Number of files in the repository: 1391
Number of folders in the repository: 117
Total size of the repository：552MB
Network Speed: More than 10MB
By the way, I can get the repository within two minutes when I use the TortoiseGit.
Ahh, sorry now I understand. So you're saying when you use Eclipse it takes a while to clone, but is fine under TortoiseGit. I think the promise is more likely in the implementation of EGit, which there isn't much we can do about. EGit is almost always slower than native Git, although I'm a little surprised for cloning there is that much of a difference.
In any case my advice is to clone the repository initially in TortoiseGit (or the command line), so that it doesn't take too long, and then continue to use EGit with that repository. Doing all the operations from that point, including pulling, should be quite quick because everything is local.
Does that help?
Thank you for your comment.
For now, I have dealt in the following ways:.
1. Create a git clone locally on TortoiseGit.
2. The one in Eclipse Import> EGit> local path.
For example, if i want to clone the source file of 50MB with 10 times modification history, Is it going to take the information of 50MBx10 = 500MB?
It depends on what you mean "source file". If you're talking about 50MB of _text_, and modify a line then Git will cache and transfer that very effectively. If you're talking about 50MB of a binary file then Git will may have a harder time storing the delta.
If you run 'git gc' in your local repository and then look at the size of the '.git/objects' directory you'll get an idea of how big your repository is (and see how it changes when you add a new file).
On October 21st, 2020 we hosted a webinar titled, Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events