I am a web developer, working together with a graphic designer. I would like this graphic designer to be able to locally check out the latest versions of my project's repos from GitHub, so he can view and test them locally on his machine.
While the setup generally works, we have the problem that I prefer to put all media files on my .gitignore
list, as they are large and tend to change often in the process and I don't want to clutter my git history and repo.
Now, this obviously leads to the problem that he cannot check out my project as it is, as all the media files are missing.
My question therefore: Is there a way to include these files somehow via git, but have them not included in version control? So they sync along for the moment, but I don't keep any old versions of them?
Or, alternatively, is there a good way to sync my media files only (Google Drive etc. maybe) and sync everything else via git and GitHub? Of course the media files could be spread in any directories and subdirectories of my project.