I am importing my project in github, due to its large size, its taking long. So I compressed my project and uploaded it on github.
Is there any way to extract it on github itself? I cant see anything in its UI but is there any command or script available?
I experienced a similar problem, unfortunately, there isn't (to the best of my knowledge.). I was able to upload a large file to Github by using the git large file storage. (https://git-lfs.github.com/)
If you use Linux, here is the instruction:
quick install git-lfs (https://packagecloud.io/github/git-lfs/install)
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
install the Git command line extension.
git lfs install
Select the extension of the large file types you'd like Git LFS to manage. For me, it was a ".pb " file from retraining the inception-v3 model.
git lfs track "*.pb" # change "pb" to the extension of your large file.
Make sure .gitattributes is tracked
git add .gitattributes
Finally, just commit and push to GitHub as you normally would.
git add retrain.pb # change "retrain.pb" to the name of your large file.
git commit -m "First commit"
git push origin master
Or you could just include all your files in the project dir.
git add .
git commit -m "First commit"
git push origin master
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With