Skip to content

Commit c340c69

Browse files
committed
Fix "rm -rf" instruictions
Existing copy is wrong because "git rm -rf *" fails if there are any untracked files (e.g. target/). Changed to "git rm -rf `git ls-files`".
1 parent 77167c0 commit c340c69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.markdown

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ From within your Spring project's git checkout directory:
1515

1616
### Remove all files
1717

18-
git rm -rf *
19-
git rm -rf '.*'
18+
git rm -rf `git ls-files` && rm -rf *
2019

2120
### Add the gh-pages-upstream remote
2221

0 commit comments

Comments
 (0)