1
0
forked from cheng/wallet
wallet/docs/set_upstream.sh

53 lines
1.9 KiB
Bash
Raw Permalink Normal View History

#!/bin/bash
set -e
set -x
echo intended to be run in the event of moving repositories
git remote -v
git remote set-url --push origin git@rho.la:~/wallet.git
git submodule foreach --recursive 'git remote -v'
cd libsodium
git remote set-url --push origin git@rho.la:~/mpir.git
git remote set-url origin https://github.com/jedisct1/libsodium.git
cd ..
cd mpir
git remote set-url --push origin git@rho.la:~/mpir.git
git remote set-url origin https://github.com/BrianGladman/mpir.git
cd ..
cd wxWidgets
git remote set-url --push origin git@rho.la:~/wxWidgets.git
git remote set-url origin https://github.com/wxWidgets/wxWidgets.git
cd ..
cd wxWidgets/3rdparty/catch
git remote set-url --push origin git@rho.la:~/Catch.git
git remote set-url origin https://github.com/wxWidgets/Catch.git
cd ../../..
cd wxWidgets/3rdparty/nanosvg
git remote set-url --push origin git@rho.la:~/nanosvg
git remote set-url origin https://github.com/wxWidgets/nanosvg
cd ../../..
cd wxWidgets/3rdparty/pcre
git remote set-url --push origin git@rho.la:~/pcre
git remote set-url origin https://github.com/wxWidgets/pcre
cd ../../..
cd wxWidgets/src/expat
git remote set-url --push origin git@rho.la:~/libexpat.git
git remote set-url origin https://github.com/wxWidgets/libexpat.git
cd ../../..
cd wxWidgets/src/jpeg
git remote set-url --push origin git@rho.la:~/libjpeg-turbo.git
git remote set-url origin https://github.com/wxWidgets/libjpeg-turbo.git
cd ../../..
cd wxWidgets/src/png
git remote set-url --push origin git@rho.la:~/libpng.git
git remote set-url origin https://github.com/wxWidgets/libpng.git
cd ../../..
cd wxWidgets/src/tiff
git remote set-url --push origin git@rho.la:~/libtiff.git
git remote set-url origin https://github.com/wxWidgets/libtiff.git
cd ../../..
cd wxWidgets/src/zlib
git remote set-url --push origin git@rho.la:~/zlib.git
git remote set-url origin https://github.com/wxWidgets/zlib.git
cd ../../..
winConfigure.sh