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

How to go back to previous version of a module?

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 4 Posters 4.2k Views 4 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @Mykle1
    last edited by Mar 6, 2017, 2:18 PM

    @Mykle1 yes then do git checkout COMMITID the commitid can be found on the right side of the list

    Please create a github issue if you need help, so I can keep track

    1 Reply Last reply Reply Quote 1
    • Y Offline
      yawns Moderator
      last edited by Mar 6, 2017, 2:22 PM

      If you follow Strawberrys link, you see hash codes like 7a03e01. You don’t need to clone the repository again, you just tell git to switch to another “version”.

      So you open a terminal, change into the module folder and run git checkout 7a03e01 to checkout this specific version. As an alternative you could run a command like git checkout @{14.days.ago} or git checkout 'master@{1979-02-26 18:30:00}'

      M 1 Reply Last reply Mar 6, 2017, 7:30 PM Reply Quote 2
      • M Offline
        Mykle1 Project Sponsor Module Developer @yawns
        last edited by Mykle1 Mar 6, 2017, 8:56 PM Mar 6, 2017, 7:30 PM

        @yawns said in How to go back to previous version of a module?:

        If you follow Strawberrys link, you see hash codes like 7a03e01. You don’t need to clone the repository again, you just tell git to switch to another “version”.

        Ahh, well, I had already trashed my MMM-NetworkScanner folder. I didn’t know about the commands below.

        So you open a terminal, change into the module folder and run git checkout 7a03e01 to checkout this specific version. As an alternative you could run a command like git checkout @{14.days.ago} or git checkout ‘master@{1979-02-26 18:30:00}’

        This is very good information. It would have saved me some anxious moments and some time as I am hesitant to change anything in my MM now because it’s just about as beautiful as it gets! There are still some things that I want to do, and I will. I like to take things slowly and try to absorb as much information as I can. I probably should have kept a running file to document all the things that I’ve been shown or taught here so I can retrieve them when needed. I have gotten better at searching though and can usually find what I am looking for. Only after looking and trying do I like to ask for help.

        Anyway, thank you again. :thumbsup_tone1:

        Create a working config
        How to add modules

        J 1 Reply Last reply Mar 6, 2017, 9:47 PM Reply Quote 0
        • J Offline
          johnnyboy @Mykle1
          last edited by johnnyboy Apr 28, 2017, 10:32 PM Mar 6, 2017, 9:47 PM

          This post is deleted!
          M 2 Replies Last reply Mar 6, 2017, 9:49 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @johnnyboy
            last edited by Mar 6, 2017, 9:49 PM

            @johnnyboy said in How to go back to previous version of a module?:

            One tip that has helped me several times, for several reasons is to ***** Make a back up copy of Custom css AND Config.js as you go along.

            I’m pretty sure that was me :wink:

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • M Offline
              Mykle1 Project Sponsor Module Developer @johnnyboy
              last edited by Mar 6, 2017, 9:52 PM

              @johnnyboy said in How to go back to previous version of a module?:

              same with the MMM-Remote

              Go get MMM-Remote-Control right now. Barely any setup. It’s a must have

              Create a working config
              How to add modules

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