# Nexus as gitlfs store

**URL:** <https://community.sonatype.com/t/nexus-as-gitlfs-store/307>\
**Category:** Sonatype Nexus Repository\
**Tags:** help\
**Created:** [August 2, 2018, 2:46am UTC](https://community.sonatype.com/t/nexus-as-gitlfs-store/307 "2018-08-02T02:46:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cipheryouth](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@cipheryouth](https://community.sonatype.com/u/cipheryouth)\
**Post date:** [August 2, 2018, 2:46am UTC](https://community.sonatype.com/t/nexus-as-gitlfs-store/307/1 "2018-08-02T02:46:16Z")

</div>

We want depoly nexus oss for gitlfs repository but it’s can not work as can fairly be expected.  
‘’’  
apt-get install git-lfs  
git lfs install  
cd project  
git config -f .lfsconfig lfs.url [http://mynexus.xxxx.com/repositpory/testlfs/](http://mynexus.xxxx.com/repositpory/testlfs/)  
git lfs track ‘\*.jpg’  
git add .  
git commit -m “testlfs”  
git push origin master  
‘’’  
It reuturn error like this  
‘’’  
batch response: Repository or object not found: [http://mynexus.xxxx.com/repository/testlfs/objects/batch](http://mynexus.xxxx.com/repository/testlfs/objects/batch)  
Check that it exists and that you have proper access to it  
‘’’  
I check gitlab have support lfs.  
I missing some important steps?  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [August 2, 2018, 4:09am UTC](https://community.sonatype.com/t/nexus-as-gitlfs-store/307/2 "2018-08-02T04:09:58Z")

</div>

You need to add “/info/lfs” onto the end of the repository URL you pass into “git config”, as per the documentation:

[https://help.sonatype.com/repomanager3/git-lfs-repositories#GitLFSRepositories-ConfiguringGitLFSLocally](https://help.sonatype.com/repomanager3/git-lfs-repositories#GitLFSRepositories-ConfiguringGitLFSLocally)

---

<div class="post-metadata">

**Author:** ![cipheryouth](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@cipheryouth](https://community.sonatype.com/u/cipheryouth)\
**Post date:** [August 2, 2018, 5:31am UTC](https://community.sonatype.com/t/nexus-as-gitlfs-store/307/3 "2018-08-02T05:31:33Z")

</div>

That’s OK, thanks a lot!!!
