diff --git a/.gitignore b/.gitignore index b86b4fbb8..b916ed4cf 100644 --- a/.gitignore +++ b/.gitignore @@ -13,10 +13,10 @@ vendor/ .sandbox-config .wp-env.override.json -#Ignoring headstart and language files +#Ignoring headstart files +*/inc/headstart/* */languages/* !*/languages/*.pot -*/inc/headstart/* #Retired themes we do not track in git able/ @@ -210,13 +210,16 @@ origin/ orvis/ oulipo/ oxygen/ -p2-breathe/ p2/ +p2-breathe/ +p2-hub/ p2020/ pachyderm/ panel/ paperpunch/ parament/ +partner-annotum-base/ +partner-annotum-sans/ penscratch/ piano-black/ pictorico/ @@ -308,6 +311,7 @@ treba/ triton-lite/ truly-minimal/ trvl/ +tt1-blocks/ twenty-eight/ twentyeleven/ twentyfifteen/ @@ -319,6 +323,7 @@ twentyten/ twentythirteen/ twentytwelve/ twentytwenty/ +twentytwentyone/ twentytwentyone-blocks/ typo/ under-the-influence/ diff --git a/.sandbox-ignore b/.sandbox-ignore index 0f396c349..4f0a19006 100644 --- a/.sandbox-ignore +++ b/.sandbox-ignore @@ -3,6 +3,7 @@ .gitignore .sandbox-config .sandbox-ignore +.svn package-lock.json sandbox.sh vendor diff --git a/sandbox.sh b/sandbox.sh index f3e8d7f2b..5bd4e074b 100755 --- a/sandbox.sh +++ b/sandbox.sh @@ -38,6 +38,11 @@ ssh -T $SANDBOX_USER@$SANDBOX_LOCATION << EOF svn up; EOF +elif [[ $1 == "pull" ]]; then + + cmd="rsync -av --no-p --no-times --exclude-from='.sandbox-ignore' --exclude=$ignore_string $SANDBOX_USER@$SANDBOX_LOCATION:$SANDBOX_PUBLIC_THEMES_FOLDER/ ./ " + eval $cmd + elif [[ $1 == "push" ]]; then git remote update