Answer the question
In order to leave comments, you need to log in
How to backup site statics using .gitignore?
The bottom line is that in .gitignore those directories in which the upload is made (even if not so, but we will accept this convention). So, according to the rules from this file, files from the corresponding directories (ignore rules) would be backed up.
Who will offer what, colleagues? :)
Answer the question
In order to leave comments, you need to log in
* Compare the output of git ls-files` and `ls -R`, back up the difference
* Rename `.gitignore` to `.gitignore.disabled`, back up `git diff` , rename back.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question