On Friday, 12 September 2014 07:56:54 UTC+2, Bryan Bojorque wrote:
> I setup gitolite on my server, I can push commits to my bare and pull from
> However when im done testing it on my dev page I want to try to push to to
> live production server which is located in /var/www.
> How do I start writing that down?
If you don't have any post-checkout operations to run, adding a git remote
named "production" pointing to your production server's repository should
suffice. Note: the folder holding your production files obviously *needs*
to be a git repository.
If you do have post-checkout operations to run, have a look at git-hooks
<http://git-scm.com/book/en/Customizing-Git-Git-Hooks> and/or tools like
git-deploy <https://github.com/mislav/git-deploy> (never used it, but heard
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.