简体   繁体   中英

PHP Eclipse with Git - [git NO-HEAD ]

I'm using PHP Eclipse Neon.2 with Git.

Up to now the projects in the Project Explorer were linked to the Git repositories (local). Files with not committed changes were marked in the Project Explorer.

But now all projects in the explorer show "[git NO-HEAD] instead of [... master]. The repositories, however, are correctly displayed in the Git Repositories view.

How do I restore the link between the projects and the repositories?

I don't know why. But simply renaming the projects in the Project Explorer solved the problem; ie restored the link between the projects and the repositories.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM