简体   繁体   中英

SmartGit/Hg 4.6.2 Head does not point to a valid commit

I am using SmartGit/Hg 4.6.2. Setup went properly. I connected my git account. My git account is an organization, because I am working on my project with a friend. When I click any of the options related to git(push, pull, sync...), an error popups:

Head does not point to valid commit.
It's not possible to perform the requested operation without valid head.

But in repository settings, under default branch, I selected master. Now, I cannot got it to work.

First you will need to commit files. In the Files tab, select file/s you want to commit, then right click them and select 'Commit'.

如果您还没有这样做,请通过SmartGit(Repository-> Clone ...)克隆远程存储库。

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