[我和我的同事main_repo
有一个名为forked
的存储库。因此,我的同事在她的叉子上创建了一个名为new_changes
的分支,并从我的名为my_branch
的分支中分支出来,并进行了新的更改。昨天我使用合并按钮将她对分支的拉取请求合并到我的分支中。
在她的拉取请求页面上,它在提交MERGED her_fork_repo new_changes
中说my_branch
到1234
。如果我在IntelliJ分支上的git pull
,我会看到同事的新变化,但是它说:]]
There is no tracking information for the current branch. Please specify which branch you want to rebase against. See git-pull(1) for details. git pull <remote> <branch> If you wish to set tracking information for this branch you can do so with: git branch --set-upstream-to=origin/<branch> my_branch
[从我输入
git remote
的分支显示origin
。我也尝试过git pull origin my_branch
,但是git说Already up to date
。
并且从my_branch
的拉取请求页面(合并到main_repo
中,我也没有看到新的更改,我应该怎么做才能使新的更改反映在我的分支上?
有一个名为main_repo的存储库,我和我的同事对此进行了分叉。因此,我的同事在她的叉子上创建了一个名为new_changes的分支,并从我的分支my_branch分支出来,并创建了新的...
在她的请求请求页面上,它在提交1234中说将her_fork_repo new_changes合并为my_branch
感谢@VonC这使我意识到我合并了指向我的同事的PR,而不是我的fork回购。因此,现在在main_repo
和我的fork库上,有一个同名的分支main_repo
。我所做的是我