I tried to pop a stash for my newly created branch, but every time I pop a stash, it will keep me waiting for around 10 to 15 minutes. Need to know why and how to prevent.
Hi @Roy ,
I would say this is not a typical experience (to wait 10-15 mins).
Might be some underlying issues with the local environment or network 👀
Maybe try something like this:
Possible Causes & Troubleshooting Steps
Local Machine Performance: If your computer is under heavy load or has limited resources (CPU, RAM, disk), Git operations like stash pop can be significantly slowed down. Try running the same operation on another machine to see if the issue persists.
Repository Size/Complexity: Very large repositories or those with many changes can slow down stash operations.
Network Issues: If your repository is hosted remotely (e.g., Bitbucket Cloud) and you have network latency or connectivity issues, this can impact performance. Test your connection speed and try the operation on a different network to isolate the problem.
Git Configuration: Misconfigured Git settings or issues with your .gitconfig can cause slowness. Compare your configuration with a working setup.
Network Configuration: DNS issues, slow wireless connections, or faulty cables can all contribute to slow operations. Try changing your DNS to Google DNS (8.8.8.8, 8.8.4.4) and ensure you have a stable connection.
Prevention Tips
Regularly maintain your repository (clean up old branches, stashes, and large files).
Ensure your machine and network are performing optimally.
Keep Sourcetree and Git updated to the latest versions.
There's this article (although it's for Bitbucket Cloud), but it might give you some ideas where to look at: Troubleshooting Network Issues
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.