Mercurial - how to fetch latest changes from parent of fork?

后端 未结 2 1311
小鲜肉
小鲜肉 2021-02-12 21:29

I\'ve been dabbling with Mercurial for a short while now, and I\'ve now set up several projects on BitBucket, one forking off of the other.

I\'ve been able to make chang

2条回答
  •  余生分开走
    2021-02-12 22:20

    Here are 3 essential steps:

    hg pull -u path_to_parent
    hg merge
    hg commit -m"updates from parent"
    

    Or you could install fetch extension that combines all these steps:

    hg fetch path_to_parent
    

提交回复
热议问题