Skip to content

Instantly share code, notes, and snippets.

@honktang
Created September 17, 2013 04:03
Show Gist options
  • Save honktang/6589956 to your computer and use it in GitHub Desktop.
Save honktang/6589956 to your computer and use it in GitHub Desktop.
git --git-dir=/path/to/repo.git --work-tree=. init && echo "gitdir: /path/to/repo.git" > .git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment