MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Updating problem: "commit your changes or stash them before you can merge" ???

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 9.0k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      amanzimdwini
      last edited by

      SHOULD have been easy (and yes, I am patched / updated / upgraded / have node v10 etc)

      pi@bathMM2:~/MagicMirror $ sudo git pull && npm install
      error: Your local changes to the following files would be overwritten by merge:
              .gitignore
              CHANGELOG.md
              Gruntfile.js
              README.md
              js/main.js
              js/module.js
              modules/default/alert/alert.js
              modules/default/calendar/README.md
              modules/default/calendar/calendar.js
              modules/default/calendar/calendarfetcher.js
              modules/default/compliments/README.md
              modules/default/compliments/compliments.js
              modules/default/currentweather/currentweather.js
              modules/default/newsfeed/README.md
              modules/default/newsfeed/fetcher.js
              modules/default/newsfeed/newsfeed.js
              modules/default/newsfeed/node_helper.js
              modules/default/weatherforecast/README.md
              modules/default/weatherforecast/weatherforecast.js
              package-lock.json
              package.json
              translations/de.json
              translations/en.json
              translations/it.json
              translations/nl.json
              translations/translations.js
              vendor/package-lock.json
      Please, commit your changes or stash them before you can merge.
      error: The following untracked working tree files would be overwritten by merge:
              translations/pt-br.json
              translations/zh-cn.json
              translations/zh-tw.json
      Please move or remove them before you can merge.
      Aborting
      

      Interesting - but (a) what does it mean and (b) how do I proceed?

      Thanks,
      Karl

      1 Reply Last reply Reply Quote 0
      • eniacE Offline
        eniac
        last edited by

        Same Problem here, but only css/main.css is effected.
        What can we do ?

        justjim1220J 1 Reply Last reply Reply Quote 0
        • justjim1220J Offline
          justjim1220 Module Developer @eniac
          last edited by justjim1220

          @amanzimdwini @eniac

          rename or delete them and try again

          rename to save the changes you made

          You can also rename the folder by adding _bak

          or you can move those files out of their directories, like create a separate directory that has a different name than any other folder in MagicMirror.

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          1 Reply Last reply Reply Quote 0
          • Y Offline
            yep_DD
            last edited by yep_DD

            git stash //stash your changes and save them
            git pull //update to current version
            git stash pop //merge your stash back
            
            justjim1220J 1 Reply Last reply Reply Quote 4
            • justjim1220J Offline
              justjim1220 Module Developer @yep_DD
              last edited by

              @yep_dd

              Thanks! Wish I knew this before. Seems a lot easier than what I’ve been doing!!! :smirking_face:

              "Life's Too Short To Dance With Ugly People"
              Jim Hallock - 1995

              1 Reply Last reply Reply Quote 0
              • eniacE Offline
                eniac
                last edited by

                Thanks … Work for me :-)

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy