Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 183 Bytes
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
if [ -z "$1" ]
then
echo "Which folder do you want to deploy to GitHub Pages?"
exit 1
fi
git subtree push --prefix "$1" origin gh-pages