it fixes the issue There is no automatic repacking. This is something which you absolutely never want the library to do. All objects start off as loose objects and remain that way until some tool decides it would like to do housekeeping. Repacking (and gc operations in general) is 90% policy, which is not something that the library should be doing. Whatever tool wants to do its should choose an appropriate time to create a packfile out of them based on the specific knowledge of usage.
it fixes the issue The user when talking over ssh is "git" (thus all the urls are firstname.lastname@example.org:user/repo), so you should use that instead of the "real" username on GitHub. The key you send is what the server uses to determine which user it is dealing with.
Cloudcontrol: how to install private repositories with composer during image build process?
I wish this help you cloudControl provides a key pair per application. The public key is provided via the command line client and can be used to access private repositories. When pulling in dependencies from Git repositories via SSH this key pair is automatically used. Simply allow access to the respective repository using this public key. You can get the key with this command:
$ cctrlapp APP_NAME details
Public Key: ssh-rsa AAAAB3NzaC...
How to build docker images with app code from private git repositories?
it helps some times It's generally not a good idea to load SSH keys into docker and pull source from git. You should use option 2. Use CI/CD pipeline to pull source code from repo and then copy it into your docker image. We do this for all our production pipelines. We create deploy keys on github and then use Circle CI to pull source and build docker images.
Which format should be SSH private key for LibGit2 LibGit2Sharp (+SSH)