Closed jmshapir closed 6 years ago
From wiki-page of the git-lfs
repo:
How to install page:
@jmshapir, it seems like we still need to install git lfs
per the above comment.
The error I'm guessing is that in the current code, we are using the command git-lfs install
instead of git lfs install
. Both work on Mac, but git-lfs install
may not work on Windows. I don't have a Windows machine on my side --- do you mind trying git-lfs install
in your terminal?
If this fails, then this is the issue and we should update our current code to git lfs install
.
git-lfs install
seems to be working on @z-y-huang's windows computer.
Need to look more into what's wrong.
@Shun-Yang see below. I could of course alias the command git-lfs to just point to the command "git" but that would just be a way to trick the config check.
C:\Users\jshapir1\Documents\GitHub\Skills>git-lfs install
'git-lfs' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\jshapir1\Documents\GitHub\Skills>git lfs install
Updated git hooks.
Git LFS initialized.
@jmshapir Thanks! Your screenshot confirms that the command git-lfs install
is indeed the issue. I think as long as we update our gslab_python code to use git lfs install
for testing if one has git-lfs installed, then everything should work.
Bug fixed in branch dev_4.1.3
. Will make a new release after #162.
I may be mistaken but I think the command git-lfs is no longer used as this functionality is available via command git. It should be possible to figure out whether I'm right using the git-lfs docs.
If I'm right we will likely need to update the way we check for git-lfs in configuration.
Example error below.