Read the statement by Michael Teeuw here.
How to go back to previous version of a module?
-
The newest version of MMM-NetworkScanner is not working for me the way the previous version was. I just don’t know how to go about finding previous versions. I went the module clone page on github but I don’t see previous versions.
Please advise, and thank you ahead of time
-
-
@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:
-
I should
downloadfrom the version page I want? If I do agit clone https://github.com/ianperrin/MMM-NetworkScanner.gitwon’t that give me the newest version? -
@Mykle1 yes then do
git checkout COMMITIDthe commitid can be found on the right side of the list -
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 7a03e01to checkout this specific version. As an alternative you could run a command likegit checkout @{14.days.ago}orgit checkout 'master@{1979-02-26 18:30:00}' -
@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:
-
This post is deleted! -
@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:
-
@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
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