Open githubteacher opened 3 years ago
Passcode: Ci3+NJTx
Passcode: #?7gq$$2
What does depth mean in relation to cloning?
A: By default, when you clone, you are also copying the entire history of commits along with the repository. You can limit the history or "depth" of commits by using the depth
option:
git clone -–depth [depth] [remote-url]
Ex: --depth 1
will limit the commit history to the most recent commit:
> git clone --depth 1 https://github.com/githubschool/fly.git
On Day 2, we'll start by updating our local repository history, and then move on to merge conflicts!
@marc-denman Recordings posted! Thanks again, great team! 🎉
@ericalloyd - Great, thanks so much. Really enjoyed the sessions with you and many thanks to your help for our team members in each of their learning paths. Take care!
Post any questions you may have here during the training.