I'm having a problem with getting my Git repository to function the way that I want it to. I'm sure it can do what I want, but I'm just not figuring it out on my own. Here's my setup...
I use TortoiseGit on both PCs. I created a branch (2012_2_2) on PC1, committed changes, and pushed to SERVER1. From PC2, I selected "Switch/Checkout", and checked out remotes/orgin/2012_2_2.
Sadly, this doesn't work. When I look at the properties of the PC2 repository, the Current Branch say "fatal: ref HEAD is not a symbolic link". Also, I am unable to pull changes made to branch 2012_2_2. When I select pull from the menu, the only branch available to pull from is origin/master.
Where did I go wrong?
I got it. There's a check box in Tortoise when you do the Switch/Checkout for creating a branch. I was unchecking that thinking that I didn't need to create the branch. Leaving it checked solved my problem.