# Fixing Git issue in update log

**URL:** <https://community.openenergymonitor.org/t/fixing-git-issue-in-update-log/11173>\
**Category:** Emoncms\
**Created:** [13 June 2019 10:35 UTC](https://community.openenergymonitor.org/t/fixing-git-issue-in-update-log/11173 "2019-06-13T10:35:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/i/bb73d2/32.png) [@ian](https://community.openenergymonitor.org/u/ian)\
**Post date:** [13 June 2019 10:35 UTC](https://community.openenergymonitor.org/t/fixing-git-issue-in-update-log/11173/1 "2019-06-13T10:35:57Z")

</div>

Hi  
Running update I noticed this issue:-

```auto
Updating /var/www/emoncms/Modules/dashboard module
------------------------------------------
- git branch: stable
- git tags: 2.0.0-40-g208a357
- git status:

On branch stable
Your branch and 'origin/stable' have diverged,
and have 1 and 5 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	modified: Views/dashboard_view.php
	modified: module.json

```

Not exactly clear what this means ` use "git reset HEAD <file>..." to unstage`

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [13 June 2019 11:38 UTC](https://community.openenergymonitor.org/t/fixing-git-issue-in-update-log/11173/2 "2019-06-13T11:38:37Z")

</div>

Not sure how this would have been changed, but if you are sure that there is nothing you have done or something you need to keep, you can reset the git repo. From the folder

```auto
cd /var/www/emoncms/Modules/dashboard
sudo git fetch origin
sudo git reset --hard origin/stable
sudo git clean -f -d
sudo git status

```

I’d run an update again just to be sure it has cleared.

---

<div class="post-metadata">

**Author:** ![ian](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/i/bb73d2/32.png) [@ian](https://community.openenergymonitor.org/u/ian)\
**Post date:** [13 June 2019 16:12 UTC](https://community.openenergymonitor.org/t/fixing-git-issue-in-update-log/11173/3 "2019-06-13T16:12:25Z")

</div>

Many thanks, now have full clean update.
