zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

How to change to DEV and how to update DEV?

Open dcboy87 opened this issue 8 years ago • 5 comments

Hi,

first, thanks to all of you for creating and maintaining this great project!

I have a second Raspberry Pi (Zero W) and wanted to try DEV branch, but i'm a rookie in Linux and everything that has to do with it.

I figured out how to clone the DEV branch with GIT, but now i wanted to update my pi to the latest commits. I followed the update instructions in the "get startet" guide, but i got a similar message like #74

error: Your local changes to the following files would be overwritten by merge: configuration.yaml Please commit your changes or stash them before you merge. Aborting

How can i update now?

i think, it should be mentioned somewhere in the Wiki how to change to DEV and how to update this branch later.

dcboy87 avatar Nov 22 '18 15:11 dcboy87

The instructions from: https://github.com/Koenkk/zigbee2mqtt/wiki/Running-the-bridge#6-for-later-update-zigbee2mqtt-to-the-latest-version can be used for this.

Koenkk avatar Nov 23 '18 22:11 Koenkk

Edit: Deleted because to much of a workaround

Underknowledge avatar Nov 26 '18 09:11 Underknowledge

Cloning the repo is as simple as: git clone https://github.com/koenkk/zigbee2mqtt.git -b dev

Koenkk avatar Nov 26 '18 13:11 Koenkk

Or so... cough

edit: maybe also ? sudo git checkout dev

Underknowledge avatar Nov 26 '18 13:11 Underknowledge

Thanks to all your comments, i did a complete fresh install of zigbee2mqtt and now updating works perfectly

dcboy87 avatar Dec 02 '18 19:12 dcboy87