Skip to content

Instantly share code, notes, and snippets.

@nero
Created October 27, 2020 13:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nero/fbf6d91a3130f2ab5371db677ad102da to your computer and use it in GitHub Desktop.
Save nero/fbf6d91a3130f2ab5371db677ad102da to your computer and use it in GitHub Desktop.
#!/bin/sh
# Download youtube-dl from github
dirname="youtube-dl"
git clone --depth=1 https://github.com/github/dmca "$dirname"
cd "$dirname"
git fetch origin pull/8142/head
git branch youtube-dl 416da574e
git checkout youtube-dl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment