I have a website file/folder structure template to start using with git
. It contains an empty .gitignore
file inside the images
folder, which leads me to my two part question:
1.) Will this empty .gitignore
file ignore all the images located inside the images
folder, or was it placed there to allow the empty folder to be added to the repository before any images were placed inside?
2.) Should website images be included in a git
repository? To me, image files are edited and altered just the same as other files, and it would be beneficial to keep track of said changes over time.
What is considered best practice? What do you do, and why?