Recently I use GIT for my website version It's all really easy to understand how my project is developed Is happening and I always save backups to different places on the web.
My main question now is whether it is recommended for the complete root version of the website. I have basic infrastructure that looks like this:
/ httpdocs / config / media / application index.php .htaccess
1) Do I use Should / html files in the folder, or should I use the contents of the folder.
2) Is it recommended for media folder?
I have many images in the media edition, for the overall layout and some other images for the website, these pictures can be quite large. I work on these images from time to time and therefore they change. I rarely need an old image, so it just does not take the precious storage space.
I highly appreciate some basic recommendations on this subject. First of all, let me say that I work primarily with SVN and desktop apps.
, But the ideas should be almost identical.
-
I can not add httpdocs to the source control, only the content of httpdocs, unless there are references to folders within your content, such as relative paths, which are typically httpdocs .
-
I will be the version of the media folder, just because I can checkout / export a particular version of the web site instantly with exact images as that version.
Occasionally, the dimensions of the same image can have differences between editions, so the exact image used by a particular version of that website would always be good.
In addition, you never know that when a customer wants to rollback to the previous version of an image.
Comments
Post a Comment