Skip to content
a script that creates a git-capable website workflow
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


a script that creates a git-capable website workflow ala

What's in here

  • creates both a project folder and its hub
  • adds .htaccess to .git folder to deny http access
  • creates hooks in both repos
  • creates and .gitignore
  • does an initial commit to initialize everything


Own that sucker.

chmod u+x mkproject

then execute that sucker.



bash mkproject

you could also add it to your path so you don't have to do either of these, just run it like any other command.

I use this for projects hosted on Amazon EC2. This workflow allows you to clone the repo locally to your computer and then push it back and have it update the live site.

Check out for an explaination and more.

You can’t perform that action at this time.