Skip to content

Instantly share code, notes, and snippets.

View BrittonWinterrose's full-sized avatar

Britton Winterrose BrittonWinterrose

View GitHub Profile
@BrittonWinterrose
BrittonWinterrose / Git push deployment in 7 easy steps.md
Last active May 3, 2016 20:34 — forked from thomasfr/Git push deployment in 7 easy steps.md
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook

How-to setup a simple git push deployment

Questions check out the original here: https://gist.github.com/thomasfr/9691385

On the server (example.com)

  1. We use the user account created in cpanel.

  2. Use the SSH public key used to connect via Putty and FTP.

  3. Create a git bare repo for your project: