Skip to content

Instantly share code, notes, and snippets.

@tatuas
Created September 30, 2013 06:05
Show Gist options
  • Save tatuas/6759866 to your computer and use it in GitHub Desktop.
Save tatuas/6759866 to your computer and use it in GitHub Desktop.
gitでrefusing to update checked out branchが出た際の対処法
リモート側で
$ cd hoge.git
$ rm -rf *
$ git init --bare
$ git config --bool core.bare true
を行う。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment