Skip to content

Instantly share code, notes, and snippets.

View kbilsted's full-sized avatar
💭
AFK most of the time...

Kasper B. Graversen kbilsted

💭
AFK most of the time...
View GitHub Profile
@kbilsted
kbilsted / PullOrCloneAll
Last active June 11, 2022 14:51
Clone or pull all repo's of a user - only repos with no changes and on "master" branch are updated
# remember to change the $gitHubApiKey
# remember to change the $uri username
$git="C:\Program Files\Git\bin\git.exe"
$gitHubApiKey = convertto-securestring "ghp_sdafsdfsdaf..." -asplaintext -force
function PullOrCloneAll($path="c:\src")
{
cd $path