Permalink
Browse files

Fix the Git workflow.

  • Loading branch information...
1 parent bb8b06d commit ccdae7a277c8ef745a739aa3665b9cfa124d2a18 @romac romac committed Nov 27, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile
View
@@ -45,9 +45,11 @@ build:
@echo -n '-- Copying the required assets into the build folder...'
@cat $(TEMP_DIR)/highlight.css >> $(TEMP_DIR)/stylesheet.css
@git checkout gh-pages
+ @rm -f stylesheet.css index.html
@cp $(TEMP_DIR)/stylesheet.css ./
@cp $(TEMP_DIR)/index.html ./
- @git commit -am "Update the documentation."
+ @git add .
+ @git commit -m "Update the documentation."
@echo ' Done.'
clean:

0 comments on commit ccdae7a

Please sign in to comment.