Skip to content

Instantly share code, notes, and snippets.

@GitHub30
Created March 18, 2022 13:52
Show Gist options
  • Save GitHub30/255ad7fc49be129b327737cbbee0092c to your computer and use it in GitHub Desktop.
Save GitHub30/255ad7fc49be129b327737cbbee0092c to your computer and use it in GitHub Desktop.
Your push was rejected because it contains binary files.
sudo apt install -y git-lfs
git lfs install
git lfs track "*.png"
git lfs track "*.jpg"
git lfs migrate import --include="*.png"
git lfs migrate import --include="*.jpg"
git add .
git commit -m "Add application file"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment