문제

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