• 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.

Looking for Beta-testers!

Scheduled Pinned Locked Moved MagicMirror
56 Posts 17 Posters 52.5k Views 18 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.
  • P Offline
    pigreco
    last edited by Aug 3, 2016, 9:46 AM

    Hello guys,

    i have tried to pass to development branch but i got this error

    error: Your local changes to the following files would be overwritten by checkout:
    modules/default/clock/clock.js
    Please, commit your changes or stash them before you can switch branches.
    Aborting

    I suppose that was due to my code change on the second colour of the analog clock in the module clock.js…i had just put the red colour #FF0000…i have retested with the @ #888888 one but still the same error…

    A possible bug?

    Cheers
    Pi

    K 1 Reply Last reply Aug 3, 2016, 6:02 PM Reply Quote 0
    • M Offline
      MichMich Admin
      last edited by Aug 3, 2016, 10:21 AM

      @pigreco, no this is the expected result. GIT doesn’t want to overwrite your changes. This is why you should never make ani modifications to the modules or the core files. If you want to modify the design, you can use the css/custom.css file (this file will be ignored by git).

      To remove your changes so that you can update continue, please use: git stash

      1 Reply Last reply Reply Quote 0
      • P Offline
        pigreco
        last edited by Aug 3, 2016, 11:57 AM

        Hello @MichMich thanks for the suggestion…not very familiar with stash, i need to authenticate ?

        Thanks
        PI

        M 1 Reply Last reply Aug 3, 2016, 12:11 PM Reply Quote 0
        • M Offline
          MichMich Admin @pigreco
          last edited by Aug 3, 2016, 12:11 PM

          @pigreco You could also try:

          git fetch origin
          git reset --hard origin/develop
          git clean -f
          
          1 Reply Last reply Reply Quote 0
          • P Offline
            pigreco
            last edited by Aug 3, 2016, 12:14 PM

            Thanks @MichMich …the issue is solved…i am on the develop branch :-)

            1 Reply Last reply Reply Quote 0
            • D Offline
              dejayou
              last edited by Aug 3, 2016, 3:41 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • K Offline
                KirAsh4 Moderator @pigreco
                last edited by Aug 3, 2016, 6:02 PM

                @pigreco, I didn’t expose the other clock hands to be easily accessible to change the colors on. I’ll have to add that in in a later update. As @MichMich said, making changes to those core files will cause git to start complaining at you.

                A Life? Cool! Where can I download one of those from?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bscarano
                  last edited by Aug 4, 2016, 12:26 PM

                  I’m now on Develop. Will this update automatically or will I need to run something periodically?

                  K M 2 Replies Last reply Aug 4, 2016, 1:28 PM Reply Quote 0
                  • K Offline
                    KirAsh4 Moderator @bscarano
                    last edited by Aug 4, 2016, 1:28 PM

                    @bscarano, regardless of which branch you are on, you are in charge of your mirror, including updating the code.

                    A Life? Cool! Where can I download one of those from?

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MichMich Admin @bscarano
                      last edited by Aug 4, 2016, 2:18 PM

                      @bscarano To update to the latest version, you’ll need to pull the latest changes. This can be done using: git pull (from the command line within your MagicMirror² folder).

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 2 / 6
                      2 / 6
                      • First post
                        14/56
                        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