• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 8.2k 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 Oct 9, 2018, 6:18 PM

    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
    • E Offline
      eniac
      last edited by Oct 9, 2018, 6:22 PM

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

      J 1 Reply Last reply Oct 9, 2018, 10:02 PM Reply Quote 0
      • J Offline
        justjim1220 Module Developer @eniac
        last edited by justjim1220 Oct 9, 2018, 10:04 PM Oct 9, 2018, 10:02 PM

        @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 Oct 10, 2018, 12:50 AM Oct 10, 2018, 12:50 AM

          git stash //stash your changes and save them
          git pull //update to current version
          git stash pop //merge your stash back
          
          J 1 Reply Last reply Oct 10, 2018, 1:04 AM Reply Quote 4
          • J Offline
            justjim1220 Module Developer @yep_DD
            last edited by Oct 10, 2018, 1:04 AM

            @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
            • E Offline
              eniac
              last edited by Oct 12, 2018, 8:12 PM

              Thanks … Work for me :-)

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                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