def clean_gh_pages():
    call('git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" 1>/dev/null')
    call('git fetch origin -q')
    call('git checkout gh-pages')
    if os.path.exists('en'):
        shutil.rmtree('en')
def clean_gh_pages():
    call('git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" 1>/dev/null')
    call('git fetch origin -q')
    call('git checkout gh-pages')
    if os.path.exists('en'):
        shutil.rmtree('en')