Skip to content

Instantly share code, notes, and snippets.

@gaulinmp
Last active September 3, 2015 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaulinmp/c558a8cc9192eeda316d to your computer and use it in GitHub Desktop.
Save gaulinmp/c558a8cc9192eeda316d to your computer and use it in GitHub Desktop.
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