有一些名爲foo的github存儲庫,「user1」和「user2」(不是我)都有過。我有:我已經合併了一個git(集線器)存儲庫的遠程分支,但沒有看到它的可視化
- 分叉
https://github.com/user1/foo
作爲https://github.com/myself/foo
- 克隆
https://github.com/myself/foo
- 跑
git remote add user2-repo https://github.com/user2/foo
(這是較早版本的用戶1 /富的一個分支) - 跑
git merge user2-repo/master
- 沒有合併
- 承諾所有更改
- git push'ed to github(至
myself/repo
)
但儘管如此,如果我看「網絡」圖 - 我沒有看到myself/foo
和user2/foo
之間的關係;如果我使用git gui
並可視化所有分支,我看不到從user2-repo/master
開頭到我的master
分支的邊緣,就像我期望按照this answer看到的那樣。
有什麼我需要做的嗎?我不看正確的事情嗎?我誤解了應該發生什麼?
這裏是user-2。我自己在這裏是用戶2嗎? –
@ArpitSolanki:不,請參閱編輯。 – einpoklum
你在哪裏推它'user-2/foo'或'myself/foo' –