Skip to content

Instantly share code, notes, and snippets.

@tvytlx
Last active December 9, 2017 04:43
Show Gist options
  • Save tvytlx/d87d0e393794d2e2e80e4293650364f0 to your computer and use it in GitHub Desktop.
Save tvytlx/d87d0e393794d2e2e80e4293650364f0 to your computer and use it in GitHub Desktop.
Simple Way To Clone All Your Personal Github Repositories
// First, open your github profile, then jump to repositories page.
// Second, copy this line to your browser's console.
r=[];$x('//a[@itemprop="name codeRepository"]/@href').forEach((x)=>{r.push(`git clone git@github.com:${x.value.slice(1)}.git`)});r.join('&&');
// Third, copy the output which contains all the clone sentences to your terminal, then enter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment