I work with a few colleagues on a Git project stored at Bitbucket. For one of the files I need to keep a different copy (it's a gulpfile and one job just won't run on my machine). Is there a chance for me to keep it from uploading – except that I manually exclude it from git add
?
.gitignore
is no solution because this file is synched too and the other team members want to keep updating their gulpfile. I tried .git/info/exclude, but this only seems to work unless the file is already in the archive.