diff --git a/git.md b/git.md new file mode 100644 index 0000000..6bb7aee --- /dev/null +++ b/git.md @@ -0,0 +1,8 @@ +# 最初のcommitに戻す + +```sh +$ git update-ref -d HEAD +$ git add . +$ git commit -m "first" +$ git push -f +``` \ No newline at end of file