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'.

其他提示

If you have not get already done so, clone the remote repository through SmartGit (Repository->Clone...).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top