How to “pull” from a local branch into another one?

后端 未结 4 1478
無奈伤痛
無奈伤痛 2021-01-29 17:33

This sounds so simple, but I just can\'t figure it out. I made an experimental branch a while ago, and now I\'d like to pull in all the changes that happened on master since I m

4条回答
  •  礼貌的吻别
    2021-01-29 18:14

    Quite old post, but it might help somebody new into git.

    I will go with

    git rebase master
    
    • much cleaner log history and no merge commits (if done properly)
    • need to deal with conflicts, but it's not that difficult.

提交回复
热议问题