Skip to content

Cloned repositories breaking repeatedly #68231

Closed Answered by pillai-s
pillai-s asked this question in New to GitHub
Discussion options

You must be logged in to vote

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…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@pillai-s
Comment options

Comment options

You must be logged in to vote
1 reply
@pillai-s
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pillai-s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage New User Help ❓ New User help
3 participants