- Copy folders & exclude some subfolders
rsync -av --progress sourcefolder destinationfolder --exclude thefoldertoexclude
read more here
- For a list of files to be pushed, run:
git diff --stat --cached [remote/branch]
example:
git diff --stat --cached origin/master
read more here