

Something might re-install the old one automatically, or de-install the new one. (So you might save it away in a third location, out of the way, rather than just removing it.) If there is a paired version of git-lfs that is known to work with that particular Git installation, some other git-lfs might not work because it might be out of sync. Sometimes Git and/or various things that work like plug-ins evolve at different paces. I foresee two main dangers of simply deleting the one in the git-core directory: Per your edit, I would imagine that git -exec-path produces C:\Program Files\Git\mingw64\bin.ĭeleting it will probably work. probably finds either $(git -exec-path)/git-lfs, or whatever your shell says if you run: $ which git-lfsĪssuming, of course, that you have a shell that supports this.
#GIT LFS WITH GITHUB DESKTOP UPDATE#
(on an Ubuntu VM on my Mac it's currently /usr/local/Cellar/git/2.15.1_1/libexec/git-core since that's the last update I installed there).Īmong other things, this means you can write your own Git commands and put them somewhere in your $PATH. Before doing this search, though, Git inserts its built-in git-core directory: $ git -exec-path Git will search your $PATH for a program named git-asdf. Should I just delete this (and the other should be found via the PATH, or replace it with the new one? Or is there a more "official" way of doing this?Īs a rule, when you run any arbitrary command that Git doesn't know as a built-in (or even one that Git does know as a built-in, really) such as: git asdf I found this: C:\Program Files\Git\mingw64\bin\git-lfs.exeĪnd this seems to be the old version: $ /cygdrive/c/Program\ Files/Git/mingw64/bin/git-lfs.exe version Windows Linux Navigate to and click Download.

What would I need to do to tell git to use the newly installed version? And there's no other git-lfs in the path.

I've hunted down a couple (or at least one) old git-lfs installation and deleted them, though git still seems to find an old one.
#GIT LFS WITH GITHUB DESKTOP FOR FREE#
I'm not sure I understand where the git lfs command finds its git-lfs. Git LFS Not initializing on Github Desktop for PC 15778 Closed DoubleDaveEnt opened this issue on 2 comments DoubleDaveEnt commented on github-actions bot closed this as completed on Sign up for free to join this conversation on GitHub. If I run git-lfs version I see the new version: $ git-lfs version GitHub does not render some Git LFS objects in pull requests. File locking is a critical tool used by diverse teams of artists (working on binary files) and programmers that will routinely experience overlap. Git-lfs/2.2.1 (GitHub windows amd64 go 1.8.3 git 621d1f82) The goal of this enhancement would be to integrate user-friendly support for Git LFS File Locking into Github Desktop. However, when I run git lfs version I see: $ git lfs version I've just updated my installed Git LFS from to the latest version (2.3.0).
