PHP Classes

File: save-project.sh

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Heloise Laravel Blog Package   save-project.sh   Download  
File: save-project.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Heloise Laravel Blog Package
Simple blog system with comments and RSS feed
Author: By
Last change:
Date: 8 months ago
Size: 337 bytes
 

Contents

Class file image Download
#!/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/heloise.git git@gitlab.com:pH-7/heloise-v2.git git@github.com:pH-7/Heloise.git ) for remote in "${gitRemotes[@]}" do save-project-to-repo $remote done