i have a codeigniter project in ubuntu server
i normally upload files to bitbucket. and in ubuntu server i pull the files from bit bucket
but in project, users uploads images in frontend of the website.
And when i pull, git says local contain changes that are not in remote and aborting the pull
so i typed
git add .
git commit -m "message"
git pull
is this the right way to do this?
Do i need to exclude the uploads folder from git..
folder structure
var/ww/html
application
uploads
.git