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.6k 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @Mykle1
      last edited by

      @Mykle1 https://github.com/ianperrin/MMM-NetworkScanner/commits/master

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

      Mykle1M 2 Replies Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @strawberry 3.141
        last edited by

        @strawberry-3.141 said in How to go back to previous version of a module?:

        https://github.com/ianperrin/MMM-NetworkScanner/commits/master

        Thank you! :thumbsup_tone1:

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @strawberry 3.141
          last edited by

          @strawberry-3.141

          I should download from the version page I want? If I do a git clone https://github.com/ianperrin/MMM-NetworkScanner.git won’t that give me the newest version?

          Create a working config
          How to add modules

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @Mykle1
            last edited by

            @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
            • yawnsY Offline
              yawns Moderator
              last edited by

              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}'

              Mykle1M 1 Reply Last reply Reply Quote 2
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @yawns
                last edited by Mykle1

                @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

                johnnyboyJ 1 Reply Last reply Reply Quote 0
                • johnnyboyJ Offline
                  johnnyboy @Mykle1
                  last edited by johnnyboy

                  This post is deleted!
                  Mykle1M 2 Replies Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @johnnyboy
                    last edited by

                    @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
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @johnnyboy
                      last edited by

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