Skip to content

Instantly share code, notes, and snippets.

@kingofnull
Created July 9, 2022 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingofnull/25ef14dfa10d6cd01589a367b2040404 to your computer and use it in GitHub Desktop.
Save kingofnull/25ef14dfa10d6cd01589a367b2040404 to your computer and use it in GitHub Desktop.
Add large files to git
set GIT_CURL_VERBOSE=1
set GIT_TRACE=1
set GIT_TRACE_PACKET=0
git lfs install
git lfs track "*.exe"
git add .gitattributes
git add myfile.exe
git commit -m "Add a large file through LFS"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment