devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 101 forks source link

purge git history of ide-urls #1213

Closed hohwille closed 1 year ago

hohwille commented 1 year ago

On our way for #941 we had a lot of unexpected problems and detours. All this was curved into the git history of ide-urls repo. As this repo shall be downloaded and cloned fast avoiding waste of storage and bandwith. Therefore I want to wipe the git history of the repo before we go live. As wiping the history causes problems when pulling, we need to do that before we push out a release.

hohwille commented 1 year ago

Done.

In case you get this error due to local devevelopment:

fatal: refusing to merge unrelated histories

******** ATTENTION ********
Can not update git repository: /d/projects/devonfw/urls
See above error for details - check your network connectivity and retry.
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.

Simply delete urls (rm -rf urls) and IDE will clone it again.

hohwille commented 1 year ago
$ du -hS urls
21K     urls