Change repo url
This commit is contained in:
parent
9e8e2747c4
commit
fa68aa6e61
@ -193,7 +193,7 @@ wg-cat() {
|
||||
ewconfig-pull() {
|
||||
cwd=$(pwd)
|
||||
cd ~/.config/ewconfig
|
||||
git pull ewp master
|
||||
git pull master
|
||||
cd $cwd
|
||||
}
|
||||
|
||||
|
@ -10,15 +10,6 @@ if type -p git > /dev/null; then
|
||||
if [ -d "$EWCONFIG_ROOT/.git" ]; then
|
||||
echo "Syncing git submodules..."
|
||||
git submodule update --init --recursive
|
||||
|
||||
# Make sure that the `ewp` upstream exists
|
||||
if ! git remote | grep -q ewp; then
|
||||
echo "Adding secondary git remote"
|
||||
git remote add ewp git://git.ewpratten.com/ewconfig
|
||||
git remote set-url --push ewp ssh://ewpratten@git.ewpratten.com:/srv/git/ewconfig
|
||||
echo "Remotes are:"
|
||||
git remote -v
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user