MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Magic Mirror with Github

    General Discussion
    2
    5
    629
    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
      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 🙏🏼

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

        Create a working config
        How to add modules

        S 2 Replies Last reply Reply Quote 1
        • S
          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
            sbrundage85 @sdetweil last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S
              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

              Create a working config
              How to add modules

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy