Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What happens when user clones repo with LFS but do not install the extension?

ekudritski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2019

What happens when user clones repo with LFS but do not install the git extension?

If user add new large file and so on?

 

https://confluence.atlassian.com/bitbucket/use-git-lfs-with-bitbucket-828781636.html

1 answer

1 accepted

1 vote
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2019

Hello @ekudritski,

If user clones a repository with LFS files without having the Git client LFS extension, they'll see so called LFS pointer files in place of the files stored in LFS. These pointer files are plain text files that contain just three lines: spec version, hash of the LFS file and its size. Without LFS extension Git will treat these files as plain text files.

The extension can be installed after such repository is cloned, user can call something like git lfs fetch to download LFS files afterwards.

Without an extension Git will work as usual, so any new file will simply added to the Git repository, not LFS.

Let me know if you have any questions.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events