-
Git can be slow on Windows for large repositories. What is the repository size?
-
Thanks for response.
It was an empty repo, was just trying to create, clone and push a single file to the repo. The git for windows is installed and is available via cmd, curl.exe was downloaded and pointed to at the installation time.
When I first created the project it took one minute to create the repo on windows.
Also for example when I do got push it takes long time to prompt for username, after that it takes a long time to prompt for password, then the actual push is fast
-
It runs fast at my side. Please follow below step to investigate:
- Make sure that no any git http proxy is enabled
- Run git from command line directly to make sure it is fast for operations such as initializing/cloning repository
- Run OneDev from the same command prompt in console mode (bin/server.bat console)
- Test to see if OneDev is still slow. If yes, press Ctrl-Break to get the thread dump while it is hanging. The thread dump will be printed into "logs/console.log". You may attach the file here for my diagnostics.
-
I just upgraded Git for Windows to Git-2.26.0-64-bit from Git-2.22.0-64-bit and the problem has gone now.
Thanks
-
Previous Value Current Value Open
Closed
-
Thanks for the info. Closing now.
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
First an awesome project. Just downloaded it for windows 10 with git installed and got curl.exe as well. Creating a project and it's git repository took a long time, also cloning/commit/push took long time specially for signing with username and password
Wanted to know why OneDev git operations are so slow on windows.
I just tried it out and no such lag for git operations occurs on linux.