Skip to content

james2doyle/git-website-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

git-website-workflow

a script that creates a git-capable website workflow ala http://goo.gl/0L3E6

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 README.md and .gitignore
  • does an initial commit to initialize everything

Usage

Own that sucker.

chmod u+x mkproject

then execute that sucker.

./mkproject

or

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 http://goo.gl/0L3E6 for an explaination and more.

About

a script that creates a git-capable website workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages