From 69c81f89569ef54e6e549ea28d41d084f33146dc Mon Sep 17 00:00:00 2001 From: Joshua Appelman Date: Thu, 9 Jul 2015 23:30:37 +0200 Subject: [PATCH] Replaces rm with git clean. --- auto-deploy-to-github-pages.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/auto-deploy-to-github-pages.adoc b/auto-deploy-to-github-pages.adoc index 3a73db8..a5c1ef4 100644 --- a/auto-deploy-to-github-pages.adoc +++ b/auto-deploy-to-github-pages.adoc @@ -128,8 +128,7 @@ Create the *gh-pages* branch as an orphan using the following +checkout+ command The history from the *develop* branch is not transfered to this branch, but we need to cleanup the files that are now lying around. Execute these commands to wipe the slate clean: - $ rm -rf * - $ rm -rf .awestruct* .sass-cache .gitignore + $ git clean -fdx $ git rm --cached * If you type +ls+, you should see that the project is now clean.