Join us October 28-29 in San Francisco or online for GitHub Universe, our flagship developer event uniting people, agents, and the world's code.
Register now
Git LFS 2.2.0 released
Git LFS v2.2.0 is now available with the all-new git-lfs-migrate command, making it easier than ever to start using Git LFS in your repository. For example, if you’ve tried to…
|1 minute
Share:
Git LFS v2.2.0 is now available with the all-new git-lfs-migrate command, making it easier than ever to start using Git LFS in your repository.
For example, if you’ve tried to push a large file to GitHub without LFS, you might have seen the following error:
$ git push origin master
# ...
remote:error: GH001: Large files detected. You may want totry Git Large File Storage - https://git-lfs.github.com.
remote:error: See http://git.io/iept8g for more information.
remote:error: File a.psd is1.2 GB; this exceeds GitHub's file size limit of 100.00 MBto github.com:ttaylorr/demo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to'git@github.com:ttaylorr/demo.git'
$ git push origin master
# ...
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: See http://git.io/iept8g for more information.
remote: error: File a.psd is 1.2 GB; this exceeds GitHub's file size limit of 100.00 MB
to github.com:ttaylorr/demo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@github.com:ttaylorr/demo.git'
You can use the git lfs migrate info command to see which files are causing the push failure:
$ git lfs migrate info
*.psd1.2 GB 27/27files(s) 100%