Exclude global-gitignore files
This commit is contained in:
parent
7db1a7c496
commit
1966ec526f
2 changed files with 5 additions and 1 deletions
|
|
@ -14,4 +14,7 @@ fi
|
|||
|
||||
source .deploy_config
|
||||
# trailing slash: copy contents of directory into destination
|
||||
rsync --verbose --human-readable --recursive --links --times --new-compress --delete-delay ${EXTRA_OPTS} public/ "${DEPLOY_HOST}:${DEPLOY_DIR}"
|
||||
rsync --verbose --human-readable --recursive \
|
||||
--links --times --new-compress --delete-delay \
|
||||
--exclude-from=$HOME/.config/git/ignore \
|
||||
${EXTRA_OPTS} public/ "${DEPLOY_HOST}:${DEPLOY_DIR}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue