git lfs clone vs git clone

Fresh Codemonger picture Fresh Codemonger · Jan 23, 2018 · Viewed 28.6k times · Source

If I have git lfs installed on the client and I run:

git clone

is this equivalent to

git lfs clone

or will different results occur?

Thank you!

The answer to this question:

Can one clone a Git LFS repo without installing Git LFS?

seems to imply that git clone will work if you have git lfs installed. It isn't clear if this means that the two commands will work the same. Unfortunately my reputation is too low to comment and ask.

Answer

Fresh Codemonger picture Fresh Codemonger · Jan 23, 2018

I updated the git client from 2.10.0 to 2.16.1 and it now says:

WARNING: 'git lfs clone' is deprecated and will not be updated
with new flags from 'git clone'

'git clone' has been updated in upstream Git to have comparable
speeds to 'git lfs clone'.

I suppose the answer is that git lfs clone is now pretty much the same thing as git clone and the separate command will disappear.