Shallow cloning git repos

Just making a note of something that might be very useful going forward. I needed to use `​git clone –depth 10 ` to clone a repo but only get the last 10 commits of it.

It helped me cloning the linux repo many years back on a horrible internet connection. This essentially doesn’t clone the entire repo’s history, however, it would clone all files and history relevant to the last 10 commits.


Posted

in

by

Tags:

Comments

6 responses to “Shallow cloning git repos”

  1. p9bet1 Avatar

    P9bet1, heard some buzz about this place. What’s the deal? Anyone got any insider tips? Maybe I’ll give it a shot. Find out more: p9bet1

  2. ph987comlogin Avatar

    PH987comlogin… sounds like a place to sign up and play. Hope it’s easy to navigate. Check it out here: ph987comlogin

  3. rr88com Avatar

    RR88com, seen this name pop up. Anyone know what it’s like? Quick feedback appreciated. Here’s the link: rr88com

  4. fundalor Avatar

    Heard about fundalor and figured I’d share. Seems okay! Easy to get started. Jump in here fundalor.

  5. superjiliregister Avatar

    Superjiliregister fue mi puerta de entrada a un nuevo mundo de juegos, el registro es súper fácil y rápido. Sin duda, recomendado para los que quieren empezar a jugar ya. No se pierdan superjiliregister!

  6. aaaaph Avatar

    AAAAPH es una opción más que se une a la lista, por si andan buscando algo nuevo. No es la mejor que he probado, pero cumple su función. Pueden checarla aquí: aaaaph.

Leave a Reply

Your email address will not be published. Required fields are marked *