Skip to content

Commit

Permalink
chore(Makefile): improve gitreset rule for resetting .html changes in…
Browse files Browse the repository at this point in the history
… docs
  • Loading branch information
vkarpov15 committed Jul 17, 2019
1 parent ca24377 commit 1ebdc88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ copytmp:
cp index.html ./tmp

gitreset:
git checkout -- ./docs
git checkout -- ./index.html
git checkout docs/*.html
git checkout docs/tutorials/*.html
git checkout docs/api/*.html
git checkout index.html

copylegacy:
mkdir -p ./docs/$(LEGACY_BRANCH)
Expand Down

0 comments on commit 1ebdc88

Please sign in to comment.