How to Exclude .git From scp
Bash makes it easy to find reasons not to use rsync
even when you know you should:
scp /path/to/files/[!EXCLUDE_NAME_HERE]* user@remote:/remote/path
Bash makes it easy to find reasons not to use rsync
even when you know you should:
scp /path/to/files/[!EXCLUDE_NAME_HERE]* user@remote:/remote/path