Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Clone of Stash is late.

Although Clone of Stash was Import(ed) by EGit of Eclipse, before completing, it will take time very much.

4 answers

Hi Takenori,

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.

Charles

Hi Charles

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.

Hi Takenori,

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?

Charles

Hi Charles

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.

Question.

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?

Hi Masayuki,

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).

Charles

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  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...

101 views 0 1
Read article

Community Events

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

Events near you