Skip to content

Instantly share code, notes, and snippets.

View nielk's full-sized avatar
🦊

Alexandre Oger nielk

🦊
View GitHub Profile

Deploying a dist folder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by yeoman).

Step 2

@nielk
nielk / carousel.js
Created January 28, 2014 10:25 — forked from barryvdh/carousel.js