• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.3k 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 Aug 3, 2019, 2:15 PM Aug 3, 2019, 2:13 PM

    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 Aug 3, 2019, 2:18 PM Reply Quote 0
    • S Offline
      sdetweil @sbrundage85
      last edited by Aug 3, 2019, 2:18 PM

      @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 Aug 3, 2019, 2:20 PM Reply Quote 1
      • S Offline
        sbrundage85 @sdetweil
        last edited by Aug 3, 2019, 2:20 PM

        @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 Aug 3, 2019, 3:30 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil
            last edited by Aug 3, 2019, 8:09 PM

            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
            1 / 1
            • First post
              3/5
              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