# I can't push to Hugging Face

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-cant-push-to-hugging-face%2F15059%3E%5C
**Category:** Beginners\
**Created:** [February 23, 2022, 3:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-cant-push-to-hugging-face%2F15059 "2022-02-23T03:23:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrex](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@andrex](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fandrex)%5C
**Post date:** [February 23, 2022, 3:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-cant-push-to-hugging-face%2F15059%2F1 "2022-02-23T03:23:13Z")

</div>

Hello, a question. I’m doing a git push within Google Colab to Hugging Face but it doesn’t allow me, I get this error: "fatal: cannot exec. ‘git/hooks/pre-push’; Permission denied

---

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsgugger)%5C
**Post date:** [February 23, 2022, 12:37pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-cant-push-to-hugging-face%2F15059%2F2 "2022-02-23T12:37:39Z")

</div>

Are you sure you are properly logged in? You can do so with

```auto
from huggingface_hub import notebook_login

notebook_login()

```

---

<div class="post-metadata">

**Author:** ![andrex](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@andrex](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fandrex)%5C
**Post date:** [February 23, 2022, 1:36pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-cant-push-to-hugging-face%2F15059%2F3 "2022-02-23T13:36:01Z")

</div>

Yes I do:

1. !pip install huggingFace\_hub
2. !pip huggingface-cli login
3. !huggingface-cli repo create
4. !got clone …
5. !git lfs install
6. !git add .
7. !git commit -m …
8. !git push

- Help me, please.

I don’t know. ☹

---

<div class="post-metadata">

**Author:** ![anon88485331](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@anon88485331](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fanon88485331)%5C
**Post date:** [December 24, 2022, 6:39am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-cant-push-to-hugging-face%2F15059%2F4 "2022-12-24T06:39:26Z")

</div>

I have the exact same issue. Except locally. I got a write token, git lfs, logged in
