Skip to content

    Github Desktop Lfs

    github desktop lfs

    Git Large File Storage (LFS) is an extension for Git that allows you to store and manage large files, such as videos, images, and audio files more efficiently. GitHub Desktop is a desktop application that allows you to interact with your GitHub repositories, and it also supports Git LFS.

    Here are the general steps to use GitHub Desktop with Git LFS:

    1. Install Git LFS on your machine: Git LFS is not included with GitHub Desktop by default, so you’ll need to install it separately. You can download and install Git LFS from the Git LFS website.
    2. Track the files you want to use with LFS: You will need to specify which files you want to use with LFS by running the command git lfs track "*.ext" in the command line. This command will track all files with the specified extension.
    3. Push your changes to the GitHub repository: Once you’ve tracked your files, you can make your changes, commit them and push them to the GitHub repository as usual. GitHub Desktop will automatically use Git LFS to store and manage the large files.
    4. You can also see the LFS files in the GitHub Desktop, by going to the repository, navigate to the “History” tab, you will see the LFS files with a download icon, you can download them and view them.

    It’s important to note that using LFS will increase the size of your repository and will require extra storage space. However, it will also allow you to store large files more efficiently, and make it easier to manage them.

    How useful was this post?

    Click on a star to rate it!

    Average rating 5 / 5. Vote count: 1

    No votes so far! Be the first to rate this post.