This is my workflow (for patching a hypothetical Example
package):
- Get a local copy of the package, this can be done with
pkg> develop Example
. This will clone the package to~.julia/dev/Example
by default. It will also make sure that the local copy is the one that is “installed” in the sense thatusing Example
will use the files in that local folder. - Edit the package in
~.julia/dev/Example
and make sure your changes work as you expect. - Fork the package on GitHub and add your fork as a remote. Then use
git
to commit your changes, and push to your fork. - Open a pull request.