# Smudge error on repository cloning after removing netlify site

**URL:** <https://answers.netlify.com/t/smudge-error-on-repository-cloning-after-removing-netlify-site/16686>\
**Category:** Support\
**Tags:** netlify-large-media-nlm\
**Created:** [June 11, 2020, 2:56pm UTC](https://answers.netlify.com/t/smudge-error-on-repository-cloning-after-removing-netlify-site/16686 "2020-06-11T14:56:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniko.viola](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/aniko.viola/32/12041_2.png) [@aniko.viola](https://answers.netlify.com/u/aniko.viola)\
**Post date:** [June 11, 2020, 2:56pm UTC](https://answers.netlify.com/t/smudge-error-on-repository-cloning-after-removing-netlify-site/16686/1 "2020-06-11T14:56:30Z")

</div>

Hi,  
I don’t need my netlify site anymore, so I’ve removed it.  
However, when I try to clone my repository, I got the following error in the lfs log:

“git-lfs smudge –   
Error downloading object: : Smudge error: Error downloading : batch response: Repository or object not found: https://\*\*\*\*.netlify.app/.netlify/large-media/objects/batch  
Check that it exists and that you have proper access to it”

Could you help me, please, to remove the relationship between my repository and netlify large media? Or could you give me some peace of advice, how can I do it on my own?

Thanks in advance,  
Anikó

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [June 15, 2020, 12:29pm UTC](https://answers.netlify.com/t/smudge-error-on-repository-cloning-after-removing-netlify-site/16686/2 "2020-06-15T12:29:08Z")

</div>

Hi, @aniko.viola, there should be a file named `.lfsconfig` in the base directory of the repo.

To remove this link between the repo and Large Media, delete this file, commit that change in git and then `git push` the commit to upstream. This should resolve the issue.

Note, many operating systems hide “dot files”. “Dot files” are files or directories starting with a dot in their name. I point this out because this file may be hidden but still there.

Here is an example from MacOS in repo using Large Media:

```nohighlight
$ ls -1
README.md
copy-build.sh
netlify.toml
post
pre

```

The `ls` command didn’t print the filename. Now, I’ll add the `-A` option to the `ls` command:

```nohighlight
$ ls -A1
.DS_Store
.git
.gitattributes
.gitignore
.lfsconfig
.netlify
README.md
copy-build.sh
netlify.toml
post
pre

```

With that option, `ls` does show the file.

Again, this file is what says “this repo is using Large Media” and deleting that file should stop the error from occurring.

If deleting it doesn’t resolve this issue, please let us know.
