git - Upstream merge commits in pull request -


While making any open-source development, it is normal to track against the upstream for a time when making any changes to a topic branch. What I have seen while bringing me back is that a merge commit has been created. If I prepare a pull request then this merge ends in the form of a lower PR.

My question is, is there any harm in it? I have read that some people think that they are useless, but I feel like the fact that when I synchronized with the previous river, they act as a timestamp. Whether there is an acceptable practice to monitor upstream and commit merge.

upstream

  • git rebase master < / Code> (Rebase)

  • git push -f (Push your branch into your GitHub thorn: according to the current PR Will be updated)

This works well if:

  • Your PR is done in your branch
  • Anyone Your branch is not actively using

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -