From 64e53fa70692011377bd35449e43855e0d6bb39b Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sun, 5 Jan 2020 00:38:10 -0500 Subject: [PATCH] Fix unintended deletion of current directory we just want to remove the files --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b84aca..61f2b7a 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Inserting a new root commit --------------------------- ```sh git checkout --orphan $TEMP_BRANCH -git rm -rf . +git rm -rf * git commit --allow-empty -m $INIT_COMMIT_MSG git rebase --onto $TEMP_BRANCH --root $MAIN_BRANCH git branch -d $TEMP_BRANCH -- 2.20.1