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.

    Is there a tutorial for pushing development to Git?

    Scheduled Pinned Locked Moved Development
    7 Posts 4 Posters 885 Views 4 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.
    • O Offline
      oldrocker
      last edited by

      I made some modifications I think are helpful to some modules and I plan to do the same to some default modules and maybe even MM itself.

      From getting an account on github to making my efforts available for review or use, is there a tutorial or instructional on how to do it? If not, could someone help me?

      S 1 Reply Last reply Reply Quote 1
      • S Away
        sdetweil @oldrocker
        last edited by sdetweil

        @oldrocker not here, as it’s a general GitHub thing

        • make a fork of the thing you want to change
          done on GitHub (push the fork button)

        • git clone your copy/fork, not the original

        • make a new branch , any name
          git checkout -b branch_name

        • make and test your changes, make sure to update any files that require documenting your change

        • git commit your changes to the local repo( clone copies the hidden git repo)

        • git push your changes to your GitHub fork

        • submit a pull request to the original repo offering your changes
          done on github

        how to do each thing you will have to learn
        https://medium.com/@urna.hybesis/pull-request-workflow-with-git-6-steps-guide-3858e30b5fa4

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        O 1 Reply Last reply Reply Quote 1
        • O Offline
          oldrocker @sdetweil
          last edited by

          @sdetweil Thanks, seems straight forward enough. I already made some changes to my live version. Should I save the changed files in another location then remove the module and then proceed with the instructions?

          S M 2 Replies Last reply Reply Quote 0
          • S Away
            sdetweil @oldrocker
            last edited by sdetweil

            @oldrocker that’s what I do.
            move the current folder ( mv command)
            clone the new
            make the branch,
            copy files from moved
            then rest is as before

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @oldrocker
              last edited by MMRIZE

              @oldrocker
              What I usually do is;

              1. make a repository in GitHub regardless already real codes are written or not
              2. git clone the repository in local somewhere from GitHub.
              3. copy working files to there, new cloned directory, from local workspace
              4. git add and commit then push.
              O 1 Reply Last reply Reply Quote 0
              • O Offline
                oldrocker @MMRIZE
                last edited by

                @MMRIZE Okay, I will give it a try. Thanks!

                BKeyportB 1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer @oldrocker
                  last edited by

                  @oldrocker What modules have you worked on? I love to see upgrades to the system, even if they’re not accepted in the main module.

                  The "E" in "Javascript" stands for "Easy"

                  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