Pushing an existing Git repository to Github only sends about half the commits?

前端 未结 7 2148
天涯浪人
天涯浪人 2020-12-31 14:17

I have a local Git repository I\'ve been developing under for a few days: it has eighteen commits so far. Tonight, I created a private Github repository I was hoping to push

7条回答
  •  北海茫月
    2020-12-31 14:43

    I don't have the reputation to comment directly on CesarB's earlier answer, but gitk --all doesn't work in this case because it only lists out known branches.

    gitk HEAD shows this problem, but it's not entirely clear. The smoking gun is that master shows up down the commit tree rather than at the most recent commit.

提交回复
热议问题