This works on my Mac, YMMV :-/
Clone the repo
git clone [email protected]:hulu/restfulgit.git
This works on my Mac, YMMV :-/
Clone the repo
git clone [email protected]:hulu/restfulgit.git
#!/bin/sh | |
for dotfile in *; do | |
source="$PWD/$dotfile" | |
target="$HOME/.$dotfile" | |
if [[ "$dotfile" != "README" && "$dotfile" != "install.sh" ]]; then | |
ln -s "$source" "$target" | |
fi | |
done |
Add directory_index: false
to the frontmatter of your page
--
directory_index: false
--
namespace :assets do | |
task :precompile do | |
sh 'middleman build' | |
end | |
end |
# If you have OpenSSL installed, we recommend updating | |
# the following line to use "https" | |
source 'https://rubygems.org' | |
ruby "2.1.0" | |
gem "middleman", "~> 3.1.0" | |
gem "middleman-blog" | |
gem "middleman-livereload" | |
gem "middleman-syntax" |
If you want to get master back into a stable state, say from a tag you know is deployed on production, you can do this:
git checkout master
git reset --hard <tag name>
git push --force origin master
http://stackoverflow.com/questions/6872223/git-revert-master-branch-to-a-tag