Store binaries in git
First of all, git
is for source code management, it is not desing to be use for dependencies management.
Install git lfs on Unix Ubuntu
sudo apt-get install software-properties-common
sudo apt-get install git-lfs
If git-lfs is not available then use :
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get upgrade
curl --silent https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs usage
Add all zip files through git LFS
git lfs install
git lfs track "*.zip"
git add sample.zip
git commit -m "add binary"
git status
git lfs ls-files
# Should produce something like
# f69d54066a * sample.zip
git push
# Then give username and password for Artifactory