Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top