I'm fairly new to Git. I have two Git repos in GitHub, A and B.
'A' is the trunk and I have created a branch called 'B' and have done my developments. Now I want to all all my changes in ('B') to 'A'.
I did the following
git clone https://sameera207@github.com/A.git
cd A
git merge ../B (please note 'B' is in the same level as 'A')
But I'm getting the following error
fatal: '../B' does not point to a commit
What as I missing here, or is this not the correct approach?