# Git LFS Linux where to put configiuration files

**URL:** <https://www.rubin.community/t/git-lfs-linux-where-to-put-configiuration-files/9580>\
**Category:** Support\
**Tags:** stack-install\
**Created:** [November 21, 2024, 8:27pm UTC](https://www.rubin.community/t/git-lfs-linux-where-to-put-configiuration-files/9580 "2024-11-21T20:27:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![VenIl](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@VenIl](https://www.rubin.community/u/VenIl)\
**Post date:** [November 21, 2024, 8:27pm UTC](https://www.rubin.community/t/git-lfs-linux-where-to-put-configiuration-files/9580/1 "2024-11-21T20:27:02Z")

</div>

Hi!  
I’ve been trying to go trough The LSST Science Pipelines but cannot understand where should I put Git LFS configuration files. Does anyone have more clear idea about than what they give in their tutorial?  
Thank you

---

<div class="post-metadata">

**Author:** ![adam](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/adam/32/868_2.png) [@adam](https://www.rubin.community/u/adam)\
**Post date:** [November 21, 2024, 10:20pm UTC](https://www.rubin.community/t/git-lfs-linux-where-to-put-configiuration-files/9580/2 "2024-11-21T22:20:26Z")

</div>

By “their tutorial” do you mean [Using Git LFS (Large File Storage) for data repositories — LSST DM Developer Guide main documentation](https://developer.lsst.io/git/git-lfs.html) ?

If not, then that’s the best reference.

If so, then no matter what, you need to run `git lfs install`.

If you will not need to write the contents of LFS-stored files, you’re done.

If you do need to write LFS-stored files, then follow the directions on that page. In brief: get a token with `write:gif-lfs` scope at [https://roundtable.lsst.cloud/auth/tokens](https://roundtable.lsst.cloud/auth/tokens) (if you don’t have access to Roundtable auth, then it seems unlikely you need write access to LFS-stored files) and edit `.git-credentials` and `.gitconfig` in your home directory as explained by the Developer Guide.

Then for each repository you need to write to, clone that repository, `cd` into it, and modify `lfs.url` and `lfs.locksverify` as described by the Guide.

---

<div class="post-metadata">

**Author:** ![VenIl](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@VenIl](https://www.rubin.community/u/VenIl)\
**Post date:** [November 21, 2024, 10:50pm UTC](https://www.rubin.community/t/git-lfs-linux-where-to-put-configiuration-files/9580/3 "2024-11-21T22:50:29Z")

</div>

I meant [Configuring Git LFS for downloading LSST data packages — LSST Science Pipelines](https://pipelines.lsst.io/install/git-lfs.html)

Thank you.

---

<div class="post-metadata">

**Author:** ![adam](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/adam/32/868_2.png) [@adam](https://www.rubin.community/u/adam)\
**Post date:** [November 22, 2024, 12:17am UTC](https://www.rubin.community/t/git-lfs-linux-where-to-put-configiuration-files/9580/4 "2024-11-22T00:17:39Z")

</div>

That Pipelines documentation is very out of date. I’ll see if I can get the ball rolling on getting it updated.
