I am having trouble with my .gitignore. I have a directory tree like so:
/djangoproject
venv
bin
startgunicorn.sh
djo
www
static
analytics
.git
.gitignore
My .gitignore reads:
../www/analytics
../venv/bin
../venv/build
../venv/include
../venv/lib
../venv/local
*.pyc
When I
git add ../*
or git add -A
git push
I don't want startgunicorn.sh
or my analytics
dir to be pushed, but I do want djo
and static
to be. That's not happening—my gunicorn.sh file keeps changing to the local machine's. Where is my error?