Cloned repositories breaking repeatedly #68231
-
I am facing problems with git repositories. The following message appears when this problem occurs:
I have looked for some assistance online but it doesn't help: I am using a windows system. Kindly assist. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @pillai-s,Are you by chance using a dated windows machine? If so, you might want to replace your hard disk soon. You might also want to check if there are any corrupted objects in git: git fsck # file system check
# if there are any, then run
git gc # garbage collection You can read more on: |
Beta Was this translation helpful? Give feedback.
-
Check Disk Health:
File System Check:
Disable Anti-Virus/Security Software:
Reinstall Git:
Git Garbage Collection:
Check for Disk Space:
Check for Repository Corruption:
Update Git Configuration: Open a Command Prompt and run the following commands:
Check for Proxy/VPN Issues:
|
Beta Was this translation helpful? Give feedback.
-
The repo which breaks was one which was used to maintain CAD files designed in Usually, when saving
Therefore, to prevent the repos from breaking, the Closing the issue as solved. |
Beta Was this translation helpful? Give feedback.
The repo which breaks was one which was used to maintain CAD files designed in
PTC Creo
.PTC Creo
handles different file revision by incrementing a counter at the end of the file name, after the file extension (e.g. myPart.prt.1 or myAssembly.asm.1).Usually, when saving
PTC Creo
creates a new file with the same name and extension, but with the version incremented of 1 unit. While this behavior is desiderable to easily retrive previous version of files, is not suitable to store the data in a version control system.Spekan Purge Tool
was used to easily purge all the files that have a revision smaller than the highest, and rename the highest to ".1". The problem of the repos breaking was du…