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.

    Git with MM

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 1.1k Views 2 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.
    • S Offline
      sdetweil @MagicBeginner
      last edited by

      @MagicBeginner a module has its own git repository separate from MagicMirror.

      make the module folder
      cd ~/MagicMirror/modules
      mkdir ???
      cd ???
      git init

      and off you go
      git add,
      git commit

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MagicBeginner @sdetweil
        last edited by

        @sdetweil Thank you, but I have to first import the repository (when you click on the +), and then add my new module right ?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @MagicBeginner
          last edited by

          @MagicBeginner sorry, don’t understand.
          if u are creating new

          where is the +?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MagicBeginner @sdetweil
            last edited by

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

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @MagicBeginner
              last edited by

              @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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 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