From 47c6fbba296a8d5e71dff2a14e5d18271fcc1eba Mon Sep 17 00:00:00 2001 From: syui Date: Mon, 17 Mar 2025 02:48:29 +0000 Subject: [PATCH] =?UTF-8?q?git=20=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 git.md 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