Loading rsync-sync +1 −2 Original line number Diff line number Diff line Loading @@ -2,10 +2,9 @@ rsync -a \ --exclude-from='/rsync-sync.excludes' \ --exclude='/.git' \ --delete-after \ "${GIT_SYNC_ROOT:-/tmp/git}/${GIT_SYNC_DEST:-sync}/" \ /sync /sync/ if test -n "${RSYNC_SYNC_EXECHOOK_COMMAND}"; then /usr/bin/env sh "${RSYNC_SYNC_EXECHOOK_COMMAND}" Loading rsync-sync.excludes +3 −0 Original line number Diff line number Diff line # Placeholder for your own excludes. Just mount your file into conteiner as /rsync-sync.excludes ## Don't sync git repo directory /.git/ Loading
rsync-sync +1 −2 Original line number Diff line number Diff line Loading @@ -2,10 +2,9 @@ rsync -a \ --exclude-from='/rsync-sync.excludes' \ --exclude='/.git' \ --delete-after \ "${GIT_SYNC_ROOT:-/tmp/git}/${GIT_SYNC_DEST:-sync}/" \ /sync /sync/ if test -n "${RSYNC_SYNC_EXECHOOK_COMMAND}"; then /usr/bin/env sh "${RSYNC_SYNC_EXECHOOK_COMMAND}" Loading
rsync-sync.excludes +3 −0 Original line number Diff line number Diff line # Placeholder for your own excludes. Just mount your file into conteiner as /rsync-sync.excludes ## Don't sync git repo directory /.git/