Read the statement by Michael Teeuw here.
UNSOLVED Git with MM
I’m a beginner with MM and Git, and I’d like to develop and test a custom module. But I’m not sure to know how to setup Git with MM, so I have a got a basic question.
What I did was to import the MM repository on Git, but now I’m not sure if rather not make a new repository with the MM files on it, because maybe this should be done only if I want to modify MM which is not my case ? But I’ll not get the updates of MM if I do this ?
In a nutshell what should I do to start working on my module and testing it using Git ? It’s my first time doing it so I’m really not sure what to do…
@MagicBeginner a module has its own git repository separate from MagicMirror.
make the module folder
and off you go
@sdetweil Thank you, but I have to first import the repository (when you click on the +), and then add my new module right ?
@MagicBeginner sorry, don’t understand.
if u are creating new
where is the +?
my question is : do I have to download the content from https://github.com/MichMich/MagicMirror and then import it to a private repository, or should I do something else (I clicked on the + at the top right corner of the page with “import repository” thinking that it would make a “private” instance of the public repository, that I could modify). I am new to Git and I don’t want to mess up anything. Thank you.
@MagicBeginner when you git clone you copy the repository too
your module should NOT be added to the MM git repo
(unless u are creating a new default module which would be shipped as part of MM)
and you don’t NEED ANY of MM to create and use a git repo for your module