anchor.diff:  git cherry-pick -x -m 1 <merge-commit-hash>
   ----
   
  +[#opam-switch]
   === Testing with `opam`
   
  -To test a particular branch `branch` of a public git repository
  -`$REPO` of the compiler in an `opam` v2 switch issue:
  -
  -----
  -opam switch create ocaml-branch --empty
  +If you are working on a development version of the compiler, you can create an
  +opam switch from it by running the following from the development repository:
  +
  +-----
  +-opam switch create . --empty
  +-opam install .
  +-----
  +
  +If you want to test someone else's development version from a public
  +git repository, you can build a switch directly (without cloning their
  +work locally) by pinning:
  +
  +----
  +opam switch create my-switch-name --empty
   # Replace $VERSION by the trunk version
   opam pin add ocaml-variants.$VERSION+branch git+https://$REPO#branch
   ----
  
positive.code:   utils/::                utility libraries
    yacc/::                 parser generator
  
  == Development tips and tricks
  
  === Keep merge commits when merging and cherry-picking Github PRs
  
negative.code: make tests
  ----
  
  6. You did it, Well done! Consult link:CONTRIBUTING.md[] to send your contribution upstream.
  
  See also our <<tips,development tips and tricks>>, for example on how to
  <<opam-switch,create an opam switch>> to test your modified compiler.
  
  === What to do
  
  