I've been working with git for a while myself, and am now setting up a repo for our team. We develop a eCommerce platform.
There are a few directories and files to be ignored, such as the upload directory and environment specific config files.
While the config files are on .gitignore, I'd like to ignore the uploads directory with either --skip-worktree
or --assume-unchanged
.
My question - which I couldn't find an explicit answer on - is if the --assume-unchanged
or --skip-worktree
bit will be pushed to the upstream repo?
If not, what would be the optimal way to ensure that git doesn't manipulate the contents of the uploads directory, across ALL instances of the repository?