Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does tortoisegit support git lfs?

Does Tortoisegit support Git Lfs ?

like image 348
hajji_0081 Avatar asked Nov 07 '22 16:11

hajji_0081


1 Answers

TL;DR: Yes, you can use TortoiseGit with Git LFS w/o problems, however, it needs to be set up using the CLI once (for every client git lfs install and repository).


The main question is: What do you mean by "supports"?

Up to TortoiseGit version 2.10 there was no GUI support available for Git LFS in TortoiseGit at all. However, that does not mean that you cannot use TortoiseGit with Git LFS. If Git LFS is configured for a repository once (i.e., it is configured what files to keep in LFS using git lfs track "*.psd" and .gitattributes is tracked in the repository) and the hooks are set up on the client (by issuing git lfs install and Git LFS is installed on the client, IIRC it is selected by default in Git for Windows), you can use TortoiseGit with Git LFS w/o problems as no special LFS commands need to be issued. Working with files then works transparently using the normal Git commands.

Starting with TortoiseGit 2.11 there is special support for LFS file locking.

like image 186
MrTux Avatar answered Nov 15 '22 11:11

MrTux