Skip to content

Instantly share code, notes, and snippets.

@michel47
Last active July 5, 2021 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michel47/ade471fec2e3842613e38255f336c58c to your computer and use it in GitHub Desktop.
Save michel47/ade471fec2e3842613e38255f336c58c to your computer and use it in GitHub Desktop.
Git-Cut

My Git-Cuts !

gist=8c8042a378f1db0ba13e0c8216590155
gist_url=https://gist.github.com/$gist
curl -X POST https://git.io/create -d "url=$gist_url"

gitcut=https://git.io/JcoJA
curl -sI $gitcut | grep -i -e location

git clone $(curl -sI $gitcut | grep -i -e location | cut -d' ' -f2) .
# or
ipfs get -o .git /ipns/hologit.ml/itrifone/8c8042a378f1db0ba13e0c8216590155.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment