Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (15 sloc) 335 Bytes
#!/bin/bash
function save-project-to-repo() {
git remote rm origin
git remote add origin $1
git push
}
declare readonly gitRemotes=(
git@bitbucket.org:pH_7/ph2date.git
git@gitlab.com:pH-7/ph2date.git
git@github.com:IDzUp/pH2Date.git
)
for remote in "${gitRemotes[@]}"
do
save-project-to-repo $remote
done