Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Project from git template
#!/bin/bash
# From http://kevinthompson.info/blog/2013/11/11/using-git-repos-as-project-templates.html
# removed --depth 1, because that messes up GitHub hosting.
# Get flask_mold with latest version. Name it first passed in arg
git clone --origin source git@github.com:gaulinmp/flask_mold $1
cd $1
# Use Git Hub command to create repo on your git and set it to origin.
hub create $1
echo "$1 has been created, with flask_mold set as remote named source"
bower install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment