Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions auto-deploy-to-github-pages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice trick!

Could you perhaps give a brief synopsis of this command so that people know what action is being performed? I think some clarity is lost when changing from the rm command.

$ git rm --cached *

If you type +ls+, you should see that the project is now clean.
Expand Down