Skip to content

Instantly share code, notes, and snippets.

Last active December 20, 2015 14:29
What would you like to do?
# my virtualenvs are in ~/virtualenvs - you may need to adjust for your environment
cd ~/virtualenvs
virtualenv pelican-sprint-test
cd pelican-sprint-test
. bin/activate
mkdir ~/virtualenvs/pelican-sprint-test/src
cd ~/virtualenvs/pelican-sprint-test/src
git clone
cd pelican
pip install -r dev_requirements.txt
cp .git/config .git/config.ORIG
sed -i -e 's|fetch = +refs\/heads\/\*:refs\/remotes\/origin\/\*|fetch = +refs\/pull\/\*\/head:refs\/remotes\/origin\/pr\/\*|g' .git/config
git fetch origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment