Last active
December 9, 2017 04:43
-
-
Save tvytlx/d87d0e393794d2e2e80e4293650364f0 to your computer and use it in GitHub Desktop.
Simple Way To Clone All Your Personal Github Repositories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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