i have a repository that i finally got working correctly with a few other developers (we are migrating from killing each other with FTP overwrites).
One of the developers uploaded a changes to the server using FTP, and I downloaded those changes, overwriting my local folders. I was thinking that git would just recognize the files that had changed, however that is not the case. in fact, git is thinking that the files have not changed.
Is there a command that can tell git to “go physically rescan every file for changes and see if there are any.” At this point, I am unsure which files were changed from the FTP download, and so when i do a git push/pull, it says there are no changes, even though I know there are.
Look at this thread: Git Push into Production (FTP)
Which contains a rather superb tool named git-ftp in order to push your production-ready changes to your server via FTP.
https://github.com/resmo/git-ftp
I use it to push to FTP, whenever I think the dev changes I have made are ready to be pushed to my server.