我对 Git 很陌生。我在 GitHub 中有两个 Git 存储库,A 和 B。
“A”是主干,我创建了一个名为“B”的分支并完成了我的开发。现在我想将('B')中的所有更改都更改为'A'。
我做了以下
git clone https://sameera207@github.com/A.git
cd A
git merge ../B (please note 'B' is in the same level as 'A')
但我收到以下错误
fatal: '../B' does not point to a commit
我在这里错过了什么,或者这不是正确的方法?