Force copy a branch into another in Mercurial


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Situation: You are on the default branch and want to mirror 'feature' branch without merging:
  2.  
  3. hg branch -f feature
  4.  
  5. or
  6.  
  7. hg merge --config ui.merge=internal:other feature

Report this snippet


Comments


You need to login to view comments.