• 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.

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

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 2.1k 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.
  • S Offline
    Steff
    last edited by Steff Feb 22, 2017, 8:23 PM Feb 22, 2017, 8:11 PM

    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 Feb 22, 2017, 9:12 PM Reply Quote 0
    • J Offline
      Jopyth Moderator @Steff
      last edited by Jopyth Feb 24, 2017, 10:27 AM Feb 22, 2017, 9:12 PM

      @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
      • S Offline
        Steff
        last edited by Feb 23, 2017, 8:22 PM

        @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 Offline
          roramirez Core Contributors
          last edited by Feb 23, 2017, 10:31 PM

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