# Updating model version on HF hub

**URL:** <https://discuss.huggingface.co/t/updating-model-version-on-hf-hub/19531>\
**Category:** 🤗Hub\
**Created:** [June 23, 2022, 4:21pm UTC](https://discuss.huggingface.co/t/updating-model-version-on-hf-hub/19531 "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](https://discuss.huggingface.co/u/kormilitzin)\
**Post date:** [June 23, 2022, 4:21pm UTC](https://discuss.huggingface.co/t/updating-model-version-on-hf-hub/19531/1 "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.
