View clean.bat
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
# cleans all temp files when Visual Studio / others starts swelling and going slow | |
rd /Q /S "%localappdata%\temp" | |
rd /Q /S "%localappdata%\JetBrainsCache" |
View CloneAllRepos.ps1
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
<# | |
--credits to https://blog.rsuter.com/script-to-clone-all-git-repositories-from-your-vsts-collection/ | |
Create a file called "CloneAllRepos.config" in the same directory with | |
[General] | |
Url=?? | |
Username=?? | |
Password=?? |
View gitSync.ps1
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
Get-ChildItem -Directory | ForEach-Object { | |
echo $_.name | |
cd $_ | |
git fetch --all | |
git pull | |
cd ../ | |
} |