PHP Classes


Recommend this page to a friend!
  Classes of Pierre-Henry Soria   PHP GitHub Readme Generator   Download  
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP GitHub Readme Generator
Generate Markdown files to describe projects
Author: By
Last change:
Date: 7 months ago
Size: 513 bytes


Class file image Download
#!/bin/bash # Save a git project to a specific repo (e.g. github, bitbucket, ...) function save-project-to-repo() { branch="master" git remote rm origin git remote add origin $1 git push origin $branch } declare readonly gitRemotes=( ) for remote in "${gitRemotes[@]}" do save-project-to-repo $remote done