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.

    Magic Mirror with Github

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 2 Posters 1.4k 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
      sbrundage85
      last edited by sbrundage85

      I have been modifying and creating modules for my Magic Mirror, but I am trying to figure out how I can save my changes as I progress. I ideally would like to add another github remote (my own personal repo) and push all additions/modified files to that repo but for some reason the only modules that are getting pushed are the “default” modules. My modules are present on my local device but for some reason aren’t being recognized by git. Anyone experience any issues with this? How do you guys do CI for your magic mirror? I don’t want to keep my changes local. Do you guys push your ‘Core’ file? Thanks and all insight is appreciated :folded_hands_medium-light_skin_tone:

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

        @sbrundage85 so, they way to do this this for MM is to fork it first, then git clone this copy onto your system, this give u a local copy

        then git push of existing code changes will go to the fork… as none of US are allowed to push changes directly to the master. we can submit pull requests for proposed changes… they have to be accepted by Mich.

        now… for you OWN modules… you should be able to git push, and it will advise u to set the origin to your repo with modulename, then push again

        works for me

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 2 Replies Last reply Reply Quote 1
        • S Offline
          sbrundage85 @sdetweil
          last edited by

          @sdetweil Perfect, I guess I am having issues because I never forked the repo. I cloned it and then added a second remote where I am pushing my code. But this approach obviously isn’t the best and isn’t working the way I thought it would. I appreciate your time and help

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by

              as for the config.js not showing as modified, it is EXPECTED that this file will be modified
              and so it is not tracked (see the .gitignore file) so that on updates it will not be overwritten

              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