This would allow me to update the folder in one click when I test the code on my development system. Is it possible and is it a good idea?
Tell me more
×
Webmasters Stack Exchange is a question and answer site for
pro webmasters. It's 100% free, no registration required.
|
If you do so, be sure you block access to the source control system's directories and files. Here's an example of how to block access to Subversion directories in Apache; it will be similar for other SCC systems/web servers. |
|||
|
|
Of course you can, but it would maybe be easier to use tools like Fabric to deploy your code. It would be the same tool to deploy it for development and production, just in declaring different targeted servers. |
|||
|
|
|
"Is it possible" Yes, you can put any directory under version control. If it is a good idea depends on what you are doing with it. I'm using the Netbeans feature "copy project data to another dir" instead. |
|||
|
|