# Updating model version on HF hub

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fupdating-model-version-on-hf-hub%2F19531%3E%5C
**Category:** 🤗Hub\
**Created:** [June 23, 2022, 4:21pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fupdating-model-version-on-hf-hub%2F19531 "2022-06-23T16:21:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kormilitzin](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kormilitzin/32/5170_2.png) [@kormilitzin](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkormilitzin)%5C
**Post date:** [June 23, 2022, 4:21pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fupdating-model-version-on-hf-hub%2F19531%2F1 "2022-06-23T16:21:50Z")

</div>

Hey all, I am using spaCy to develop models and would like to update them from time to time to keep up with spaCy updates.

When I tried to overwrite my model (following [this](https://huggingface.co/blog/spacy) tutorial), I expected it would create a new repository, but I got the following error:

`python -m spacy huggingface-hub push en_core_med7_lg-3.3.1-py3-none-any.whl`

```auto
OSError: On branch main
Your branch is ahead of 'origin/main' by 1 commit.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean

```

I assume it is a very naiive error, however any help will be highly appreciated.
