- Download lfs.scp.exe from Release
- Place it in "C:\Windows\System32"
- Go to your directory
git init
git lfs install
git lfs track "*.png"
git config lfs.standalonetransferagent lfs-scp
git config lfs.customtransfer.lfs-scp.path lfs-scp
git config lfs.customtransfer.lfs-scp.args "example.com 22 ubuntu ~/.ssh/id_rsa"
git add .gitattributes
git commit -a -m "create .gitattributes"
git push
git clone REPOSITORY
cd REPOSITORY
git config lfs.standalonetransferagent lfs-scp
git config lfs.customtransfer.lfs-scp.path lfs-scp
git config lfs.customtransfer.lfs-scp.args "example.com 22 ubuntu ~/.ssh/id_rsa"
git reset --hard