The following command
GIT_DEPLOY_DIR=deploy \
GIT_DEPLOY_BRANCH=master \
GIT_DEPLOY_REPO=https://<token>@github.com/<org>/<org>.github.io.git \
git-directory-deploy --verbose -m 'New: Deploy'
gives the following error
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Any idea?
I think it depends on the fact that I'm pushing to the master branch (of another repository) while I am on the master locally.