Skip to content

Commit

Permalink
fix: Updates setup instructions to add .gitkeep (#56)
Browse files Browse the repository at this point in the history
running `git add -A` without any files to stage results in nothing to commit so the branch is never created.
  • Loading branch information
shak authored and knownasilya committed Jul 25, 2017
1 parent 4754436 commit dd4498c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ git add -A && git commit -m "Added ember-cli-github-pages addon"
Then you need to create the `gh-pages` branch and remove the unnecessary files:

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

## Usage
Expand Down

0 comments on commit dd4498c

Please sign in to comment.