Skip to content

Installation instruction deleted all my work #48

@ivanvanderbyl

Description

@ivanvanderbyl

I just tried following the installation instructions, however it deleted not only my project, but everything in the parent directory.

git checkout --orphan gh-pages && rm -rf `ls -a | grep -vE '\.gitignore|\.git|node_modules|bower_components|(^[.]{1,2}/?$)'` && git add -A && git commit -m "initial gh-pages commit"

I'm shell zsh, so maybe something in here which doesn't work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions