Working with (large) Git Repositories using Git LFS or VFS for Git

Git LFS

version https://git-lfs.github.com/spec/v1
oid a747cfbbef63fc0a3f5ffca332ae486ee7bf77c1d1b9b2de02e261ef97d085fe
size 4923023

Installation and use LFS

  • Setup LFS for the repo:
git lfs install
  • Indicate which files have to be considered as large files (or binary files). As an example, to consider all Photoshop files to be large:
git lfs track "*.psd"

Problems with files over 128 MB?

git config http.version HTTP/1.1

VFS for Git

Installation and use VFS

  • Git 2.28.0.0 installer, which is a requirement for running VFS for Git. This is not the same as the standard Git for Windows install!
  • SetupGVFS installer.
* -text
gvfs clone [URL] [dir]
gvfs unmount

Conclusion

--

--

--

Senior Software Engineer at Microsoft working on Azure Services and Spatial Computing for enterprise customers around the world.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CloudFix: Fix Your AWS Costs!

Defining Culture: Engineering Principles

How I made straightforward 3*3 Rubik cube solver using OpenCV python.

My experience with Gatling

How Product Managers Should Work with Software Engineers in High Tech — An Engineer’s Perspective

TOP 10 software development trends for 2021

Performing Web/API Service upgrades without Downtime

7 Methods to Reduce Software Development Costs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin Tirion

Martin Tirion

Senior Software Engineer at Microsoft working on Azure Services and Spatial Computing for enterprise customers around the world.

More from Medium

Using Git To Manage Versioned Releases

Best practices for git branching and workflow

Working Area, Staging Index, Repository

Git & GitHub. What’s That?