Git for theme devlopment on a localhost install
Hello,
I want to start off by saying that I know this well exceeds the scope of these forums, I am just wondering if anywone can help me clarify this specific problem.
I am running ubuntu 12.04 and have configured a LAMP stack within it. Now that i'm getting into theme development I think it would be wise of me to use soucre code control, and GIT is the way to go in my eyes, I have experience with other programming languages and understand the advantages it, along with ease of deployment.
Basically, lets say that I create a wordpress install locally, and create a new theme (or child theme) and call it sample-theme. I then add it to a git repo (locally), and push the origin to master. If someone makes a change elsewhere, or I do, and then do a git clone (and possibly a branch), would there be any complications when upddating my local repository because of the superuser permissions required to write data the the www directory?
Anyway, I know that the www directory (localhost root) is a directory that requires superuser permissions to read/write/execute. How does this interact with git? I just want to know my best way to handle this.
Thanks
Zach
|