Read the statement by Michael Teeuw here.
Git with MM
-
@MagicBeginner a module has its own git repository separate from MagicMirror.
make the module folder
cd ~/MagicMirror/modules
mkdir ???
cd ???
git initand off you go
git add,
git commit -
@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 newwhere is the +?
-
@sdetweil
Sorry,
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