Never Clone Big Repo Again

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 7

  • @AqgvP07r-hq3vu
    @AqgvP07r-hq3vu 5 месяцев назад +9

    this guy has slowed down the global warming.

  • @LGXerxes
    @LGXerxes 5 месяцев назад +7

    Perhaps adding --depth 1 to not clone the entire git history?

    • @dank3k
      @dank3k 5 месяцев назад +2

      This is the answer to this issue!

    • @higainu8935
      @higainu8935 5 месяцев назад +3

      Or better yet use --filter=blob:none, so you can still switch between branches and commits

    • @saeedjalali7339
      @saeedjalali7339 5 месяцев назад

      @@higainu8935 ​ Bro I need more context. Can you share any links to docs or any blog or video or whatever. Thanks in advance

    • @higainu8935
      @higainu8935 5 месяцев назад

      @@saeedjalali7339 Personally I've learnt this trick from the video "So You Think You Know Git - FOSDEM 2024" on RUclips

    • @dank3k
      @dank3k 5 месяцев назад

      @@saeedjalali7339 git clone "url" --filter=blob:none --depth 1 for a fast af clone