Open Keidro opened 3 years ago
Hi @Keidro,
This problem occur due to Github team had replaced the init master brance name with the main branch name at 2020/10 (This repo last update time is 2020/05)
You can replace you git command with
cd $OUTDIR
git init -b main
git remote add origin "$remote_url"
git add .
git commit -m "Initial commit"
git push origin main -f
These code will help you init the main branch name instead of master branch name at the git repo init step (p.s. you need to upade you git version for the latest version, so that you can use the -b parameter)
I also fix some bug in this shell, and I have send the PR to the author, so before he decide to merge it, maybe you can use my code at #36, or the raw data Fixed deploy.sh
Hope that will help you to enjoly ghost : )
Hello, I'm trying deploy ghost using your deploy scripts but i have problem with push. Could you help me provide any info what should I do next and if you have time.