Skip to content

Instantly share code, notes, and snippets.

@JenZhao
Created October 20, 2017 03:05
Show Gist options
  • Save JenZhao/3ca7d998e55c9bb2a306c00888c0a5e7 to your computer and use it in GitHub Desktop.
Save JenZhao/3ca7d998e55c9bb2a306c00888c0a5e7 to your computer and use it in GitHub Desktop.
hexo problems fix
echo "Please enter your github name: "
read github_name
git_link="https://github.com/$github_name/$github_name.github.io.git"
git clone $git_link .deploy/$github_name.github.io
cd .deploy/$github_name.github.io
git pull
cd ../../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment