MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Git branch develop, commited changes do not show up on github

    General Discussion
    3
    4
    1983
    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.
    • Steff
      Steff last edited by Steff

      Hi all,
      I have to admit that I am an absolute newbie for working with github. However after reading several forums, the online help and trying back and forth I still have not found a solution to my problem and I am really clueless.
      I have released a couple of weeks ago my first basic module for MM on github.
      I wanted to further develop the features of the module, but wanted to do it in a separate branch develop.
      I create this branch via git branchand git checkout. I checked in my modifications to the develop branch with git commit -a.
      A git check status shows:

      On branch develop
      Untracked files:
        (use "git add ..." to include in what will be committed)
      
      	backup/
      
      nothing added to commit but untracked files present (use "git add" to track)
      

      I did not yet exclude the backup directory in gitignore.
      If i call git logI can see:

      commit ce4fca6491a4cd8facb44482ce2f17cbd335e7a4
      Author: xxx
      Date:   Wed Feb 22 20:42:56 2017 +0100
      
              modified:   CHANGELOG.md
              modified:   MMM-RadioDe.js
              modified:   README.md
      
      commit db495c121e2dd8f38b1e2f67fd0101f918d11190
      Author: xxx
      Date:   Tue Feb 21 19:07:07 2017 +0100
      
          - requiresVersion: "2.1.0",
          - option to change playing radio station via notification
          
          - Added documentation for daily operation in [README.md](README.md# Daily operation)
          - Added check for all modules started, before starting radio player
          
          - Known problems: One user reported that player does not start, potentially fixed by starting player only once all modules started
      

      My problem: I cannot see these changes online in the web interface of github, trying to see my changes in github it claims no differences between master and develop branch (identical).

      I strongly hope that this is an absolute beginners error, nevertheless I am running out of ideas. Could you help me ?
      Thanks
      Steff

      J 1 Reply Last reply Reply Quote 0
      • J
        Jopyth Moderator @Steff last edited by Jopyth

        @Steff Seems like you need to push your changes. They are local only unless you use git push to send them to the github server.

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 2
        • Steff
          Steff last edited by

          @Jopyth Thanks so much, you saved my day, I really had forgotten git push, stupid me. Thanks again !!

          1 Reply Last reply Reply Quote 0
          • R
            roramirez Core Contributors last edited by

            I can recomend you 3 things:

            Check the next documentation

            • http://rogerdudler.github.io/git-guide/ (simple)
            • https://backlogtool.com/git-guide/en/stepup/stepup1_1.html (some details about branches)
            • http://rogerdudler.github.io/git-guide/

            Second one, use this interactive tutorial
            https://try.github.io

            The last, you can work better using a zsh+oh-my-zsh. This enable to see where branch you are and status repository into the shell prompt.
            https://github.com/robbyrussell/oh-my-zsh

            Easy module development with MagicMirror Module Template

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