Magic Mirror with Github
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
@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
@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
This post is deleted!
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