Read the statement by Michael Teeuw here.
How to go back to previous version of a module?
-
-
@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
download
from the version page I want? If I do agit clone https://github.com/ianperrin/MMM-NetworkScanner.git
won’t that give me the newest version? -
@Mykle1 yes then do
git checkout COMMITID
the 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 7a03e01
to 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