Skip to content

Instantly share code, notes, and snippets.

@adamli
Created December 27, 2011 14:21
Show Gist options
  • Select an option

  • Save adamli/1523790 to your computer and use it in GitHub Desktop.

Select an option

Save adamli/1523790 to your computer and use it in GitHub Desktop.
Push to multiple git remotes
cd ongage
@setlocal
set HOME=%USERPROFILE%
set GIT_SSH=c:\util\putty\plink.exe
cmd /c "c:\progra~2\Git\bin\git.exe push --progress github adam:master"
cmd /c "c:\progra~2\Git\bin\git.exe push --progress github adam:adam"
cmd /c "c:\progra~2\Git\bin\git.exe push --progress intg2 adam:master"
@endlocal
cd ..
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment