I tried to merge with a remote branch and I am having problems.
My git remote network looks like this:
https://github.com/liuduan/CAT-APP-PROJECT/network
>> git branch -r
SS-Master/master
origin/Department_Head
origin/HEAD -> origin/master
origin/HEAD_2
origin/President
origin/master
It did not show the branch for "master/ashimaSharma". How do I have git to show the "master/ashimaSharma" branch?
Then I tried:
>>git fetch –-all
Fetching origin
Fetching SS-Master
>>Fetching HEAD_2
remote: Not Found
fatal: repository 'https://github.com/liuduan/CAT-APP-PROJECT/commit/d54b6f1db7ff624970105fdfe5c0a1aa60a9d7b2/' not found
error: Could not fetch HEAD_2
Actually I do not really care about HEAD_2 branch, but I need to show the branch "master/ashimaSharma", so I can merge.
I got a suggestion from max630 to remove HEAD_2, and I removed it successfully.
I did ”get fetch –-all”, and ”get remote -v”,
git remote -v
SS-Master https://github.com/sumit0704/CAT-APP-PROJECT/ (fetch)
SS-Master https://github.com/sumit0704/CAT-APP-PROJECT/ (push)
origin https://github.com/liuduan/CAT-APP-PROJECT (fetch)
origin https://github.com/liuduan/CAT-APP-PROJECT (push)
But the “master/ashimaSharma” is still not showing up.