Detached head in list of push commits window
已回答
Hi,
in the list of push commits window i have list of commits with detached head.
git reset hard not helping, also try to delete the files.
any idea?

请先登录再写评论。
This is not a commit list, but a list of repositories in your project.
There are other repositories in the project, no only the one in the dev folder, and those are in the Detached head state. Most likely those are some libs installed by composer or something similar.
They appeared in the list because starting from 2018.2 IntelliJ registers all repositories it finds in the project. You could remove the mappings in Settings | Version Control
Thanks!