G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

gin download issues #314

Closed jcolomb closed 2 years ago

jcolomb commented 2 years ago

If I do

gin get tonictests/testingscripts.main
cd testingscripts.main
gin download

I get

:: Downloading changes [error] download failed: fatal: refusing to merge unrelated histories
sync: 1 failed

Issue was because history of the main branch had been crushed, but not the one of synced/main.

workaround:

git push origin --delete synced/main
gin init
gin upload .