push detached head with git

 if you are in detached HEAD in local development and you want to push changes to remote repo

git push origin HEAD:master

Comments

Popular posts from this blog

Pyppeteer fix for BrowserError: Browser closed unexpectedly

How to add pagination to django comments for your model

Django project and Perfect setup of nginx config for www to nonwww and http to https and ip to domain redirects