Skip to content

Instantly share code, notes, and snippets.

@zhaochunqi
Last active August 29, 2015 14:02
Show Gist options
  • Save zhaochunqi/68bc1bf701454e430f48 to your computer and use it in GitHub Desktop.
Save zhaochunqi/68bc1bf701454e430f48 to your computer and use it in GitHub Desktop.
git_recover.sh
#!/bin/zsh
# 用来恢复本地的git文档
git checkout . && git clean -xdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment