Created
April 1, 2014 14:53
-
-
Save pamolloy/9915782 to your computer and use it in GitHub Desktop.
`git submodule` commands cause `remote: fatal: Not a git repository: '.'`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TMPDIR=$(mktemp --directory --quiet) | |
git clone $HOME/http $TMPDIR | |
cd $TMPDIR | |
git submodule init | |
git submodule update | |
jekyll &>/home/git/jekyll.log | |
rm -rf $TMPDIR | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment