![github desktop forked github desktop forked](https://res.cloudinary.com/practicaldev/image/fetch/s--FD1ugpAw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/u104abcv9r6p61xykf86.png)
For more info see the developing package section of the package manager docs: 3.
![github desktop forked github desktop forked](https://itknowledgeexchange.techtarget.com/coffee-talk/files/2021/05/github-fork-command-line-768x423.jpg)
Then the next time you want to switch back to your local version of the package just do dev ForkedPackageĪnd the package manager will switch back to the version of the package sitting in your package development directory.įinally, by default your julia package development directory is ~/.julia/dev but you can set it to be somewhere else using the environment variable JULIA_PKG_DEVDIR. If you want to go back to a registered version of the package just do Pkg.free("ForkedPackage") or run free ForkedPackageįrom the package manager repl mode. using ForkedPackage) it will load the version you’ve just cloned. That will clone your fork of the package into your julia package development directory. Pkg.add("DataFrames").įWIW, if you’re planning to play with a fork of a package, I would just do Pkg.develop(url="address of your fork repo") The Pkg.add(pkg_name::String) method only works for registered packages that you can refer to by name, i.e. The client keeps the code on my computer synced with the fork in my repositories. You can go to History and use the Select Branch to Compare option at the top of the commit list to select a branch to compare to your current branch. Using GitHub desktop, I forked the project and started working on it. That will work with a git ssh repo addresses. danielniccoli in GitHub Desktop the upstream branches are available from the branches list, allowing you to merge changes from upstream and keep your fork in sync. If you want to add a package from a url using the Pkg api (rather than the package manager repl mode as suggested) you need to do Pkg.add(url="url-goes-here")