Create a patch/pull request for an OCaml lib with opam

You can streamline this a bit more by automating the fetching of the sources:

$ opam source thepkg --dev
# this fetches the development version of the source code
$ opam pin add thepkg thepkg/
# pin and install it
$ cd thepkg && hack-hack-hack
1 Like