Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaces rm with git clean. #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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