Set up a Git repository one level above public_html (
git init; git commit -a ). Simple and easy (Git only creates one folder wherever you create it); you don't need to use Github (which is a publicly accessible Git repository).
I have a webserver setup using the standard linux, apache, mysql, php config and I currently don't have a way of doing revision control - I just backup the whole thing every now and then. I'd like to set up a github repository for just the php and html files - basically everything in public_html. Not really sure where to get started or how to approach it... I guess I could just set up a git repository in the public_html folder itself but that doesn't seem ideal...
1条回答 默认 最新
- 已采纳 dongyonglie5132 2010-08-26 19:45
Set up a Git repository one level above public_html (点赞 评论 复制链接分享