Git push error '[remote rejected] master -> master (branch is currently checked out)'
You can convert your remote rejected master master branch and it is currently checked out (there is no working copy in the bare repository - the folder contains only the actual repository data). In your remote repository folder run the following command: $ git config --bool core.bare true Now you can delete all the…
Answered Jul 15, 2021 · 2.5K Views Read answer →