I'm new to Git, so I suspect that I'm misunderstanding something here, but I'll ask anyway.
Via TortoiseGit I do the following:
- Init a new Git repo locally
- Add a readme file to it and commit
- Add a new remote
- Push the new repo to the orgin (remote)
If I then Browse Refs I see the following:
heads/master
remotes/origin/master
What I find odd is that I don't see a HEAD on the remotes.
If I delete my local repo and then clone it from the server (I just pushed to above) and then browse the refs I see:
heads/master
remotes/origin/HEAD
remotes/origin/master
So why don't I see a remote head after the initial push?
NB. I've done the same via Git Bash command (ie. not Tortoise Git) and am seeing the same thing.