Git: Changes keep getting lost due to seemingly random merges

后端 未结 2 858
野趣味
野趣味 2021-02-03 10:57

I have a feeling this will be an obvious answer, but I can\'t seem to work it out.

What appears to happen is that I commit/push some changes to the server and everything

2条回答
  •  星月不相逢
    2021-02-03 11:49

    If you are losing commits, ensure that neither of you is using --force or a force flag on your gui to get rid of rejected. Take a look at the explanation of the DAG.

    http://progit.org/book

    hope this helps.

提交回复
热议问题