I track my website's changes using git. The directory structure is :
$ ls my-page
Gruntfile.js node_modules webpage package.json
Of course, I'd like to push only the webpage
subdirectory contents to the server. Besides, I'd like to ignore the webpage/assets/sass
subdirectory. My Internet connection is fairly slow, so I'd like the upload to be incremental, or at least upload only the files changed since the last commit. I don't want to upload uncommitted changes.
I know about git-ftp
but as far as I see from the docs, I can upload only the whole tree with it.
Is it possible to achieve what I want?