Skip to content

Instantly share code, notes, and snippets.

@gianlucaparadise
gianlucaparadise / big-repo-cloner.sh
Last active June 2, 2023 10:21
Big repo cloner - Script to clone a git repository bigger than 1GB
# Script hosted here: https://gist.github.com/gianlucaparadise/10286e0b1c5409bd1049d67640fb7c03
# A repository bigger than 1 GB can't be cloned normally.
# In order to clone it, you need to follow the instructions from:
# https://stackoverflow.com/a/53068021/6155481
# To execute:
# sh big-repo-cloner.sh <repo_uri> <repo_destination_folder> [<checkout_branch_name>]
# repo_uri and repo_destination_folder are mandatory
# checkout_branch_name is optional