1

I couldn't clone a git repo from my Gitea server:

Klone nach 'diss' ...
Username for 'https://git.ursliska.de': uliska
Password for 'https://uliska@git.ursliska.de': 
remote: Zähle Objekte: 7403, Fertig.
remote: Komprimiere Objekte: 100% (4377/4377), Fertig.
fatal: Die Gegenseite hat unerwartet abgebrochen.
fatal: zu frühes Dateiende/7403)
fatal: index-pack fehlgeschlagen

A friend found out that it was an issue with the repo itslf (I could clone other repos without errors), and he managed to "fake" clonig by producing an archive on the server and downloading and unpacking it on my computer, where I now have a complete working tree without a proper Git repository holding it. Our idea was t create a new empty server and push te local code to that. Even though that wold lose all history info it would be a huge gain.

To achieve this I'd have to init a Git repo and commit the whole content (in one single commit, I fear) in order to later be able to do the git push -u thing. Is there a convenient way t recursively stage all files in a working tree?

uli_1973
  • 705
  • 1
  • 5
  • 22

0 Answers0