Using git to publish to a website

后端 未结 3 2042
野性不改
野性不改 2020-12-14 12:04

I used this guide to use git to autopublish my changes on my website when I push to my remote origin git repository:

http://www.lwp.ca/james/2010/03/using-git-to-man

3条回答
  •  醉话见心
    2020-12-14 12:41

    You can find a better alternative at http://toroid.org/ams/git-website-howto that only uses one git repository, and allows all metadata and previous history to remain outside of the DocumentRoot.

    The guide you used and the one I linked referrer to another article both are based on, but the one I linked seems to be the preferred one to direct new users to in the #git IRC channel.

提交回复
热议问题