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.

    issues updating MMM-calendar EXT3

    Scheduled Pinned Locked Moved Solved Troubleshooting
    19 Posts 4 Posters 2.3k 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.
    • N Offline
      nschertz
      last edited by

      oops meant to type

      to clarify… execute “git checkout package-lock.json” instead of " git reset package-lock.json" or execute “git checkout package-lock.json” and " git reset package-lock.json"?

      1 Reply Last reply Reply Quote 0
      • N Offline
        nschertz
        last edited by

        Got it ! git checkout… worked! Thanks for the clarification on what git reset does verses git checkout.

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

          @nschertz awesome… sorry for the misdirection

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            in the git model

            the files you see are called the working directory
            and the repo is hidden in the .git folder

            that is where the actual ‘state’/contents of each file exists

            so checkout copies the contents from the repo to the working directory

            if you were developing and had a change
            git status would show changed files in the working directory

            git diff will show WHAT changed on each file

            to lock it down in the local copy of the repo
            you git add it to a potential ‘commit’,
            then git status shows it as ‘staged’

            to REMOVE it from staged, use the git reset command

            git commit puts it into the local repo as a change

            then you ‘push’ your entire local repo to the parent (git remote -v)

            and the changes (if accepted) are merged and that change is in the master for
            all new ‘pulls’

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil thank you ! This explanation is very helpful. I’m still a little new to the git environment.

              1 Reply Last reply Reply Quote 1
              • S sdetweil has marked this topic as solved
              • 1
              • 2
              • 2 / 2
              • 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