This file contains hidden or 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
#!/usr/bin/env bash | |
# Clone and fork a team's first 100 GitHub repos. Then, add remotes for all potential forks. | |
# | |
# Requires: | |
# - git: https://git-scm.com/downloads | |
# - github-cli: https://github.com/cli/cli | |
# - jq: https://stedolan.github.io/jq/download/ | |
# | |
# The first time you run this script or use gh for the first time in your system |
This file contains hidden or 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
@echo off | |
Setlocal EnableDelayedExpansion | |
set CYGDIR=C:\cygwin64 | |
set CYGBINDIR=%CYGDIR%\bin | |
set PATH=%PATH%;%CYGBINDIR%;%CYGDIR%\usr\local\bin;%CYGDIR%\usr\bin | |
cd /d %CYGDIR%\home\%USERNAME% | |
if [%1]==[] goto BLANK |