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

Purpose of Depth=1

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 337 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.
  • A Offline
    ankonaskiff17
    last edited by Nov 29, 2020, 5:46 PM

    I’ve loaded a few 3rd party modules and was just curious as to why one of them has --Depth=1 git the initial git clone line. I’ve done plenty of that process with sensors for Pi computers outside of the MM arena and have never seen that before. What is it doing and why is it used.

    M 1 Reply Last reply Nov 29, 2020, 6:31 PM Reply Quote 0
    • M Offline
      mumblebaj Module Developer @ankonaskiff17
      last edited by Nov 29, 2020, 6:31 PM

      @ankonaskiff17 The

      --depth=1
      

      means the following. Git shallow clone lets you pull down just the latest commits, not the entire repo history. So if your project has years of history, or history from thousands of commits, you can select a particular depth to pull.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        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