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.

    Merge conflict after update to 2.19

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 2.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.
    • D Offline
      DarrenHill @sdetweil
      last edited by

      @sdetweil Yes, I’m not quite sure what the weatherforecast.js change was, but that’s blown away now. As you say, the new module is fine with a little tweaking via custom.css.

      It was the package.json file that screwed things up, and that I know I have never touched and have no idea what it was and why it got out of sync.

      Anyway I learned a bit of stuff about GitHub and stashing, so that’s a bonus and we’re up and running again fine (after swapping out the depreciated weather modules too).

      S 1 Reply Last reply Reply Quote 1
      • S Offline
        sdetweil @DarrenHill
        last edited by

        @DarrenHill
        the

        git diff  x
        

        command
        will show you the changes

        x is an optional file name.
        if not supplied, it will show all changes to all changes files

        git status will show you if any files are changed

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D S 2 Replies Last reply Reply Quote 1
        • D Offline
          DarrenHill @sdetweil
          last edited by

          @sdetweil Good to know.

          git status got me out of it, as I think things got out of sync rather than really needing merging or proper tracking (if subsequent research on what package.json actually means and does).

          But useful to know how to actually see the differences for future reference. I really need to get more skilled-up on GitHub, but it always defeats me as I’m only an occasional hobby programmer for personal usage rather than for sharing/collaboration.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @sdetweil
            last edited by

            also

            git checkout filename
            

            will restore a file to it’s repo contents.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 2
            • S Offline
              sdetweil @DarrenHill
              last edited by

              @DarrenHill git is the thing

              gitHUB is just server for holding code, and accepting changes (pull requests) from others

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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