Skip to content
Stephen edited this page Aug 12, 2018 · 5 revisions

Because on my experience with the Zenphoto.org work flow I have concluded that the following workflow will be best suited for an easily managed software.

First you should fork netPhotoGraphics to your own personal repository. The fork function is at the upper right of the GitHub page. I recommend that you immediately go to settings on this fork and change its name. Otherwise it gets confusing on the desktop as to which repository is the original and which is the clone. I call my fork netPhotoGraphics-DEV.

Now you can clone the fork to your desktop so you can make your changes to it. You can update your fork to the current ZenPhotoGraphics master build using the `update20` batch file. This way you keep your version current when changes are committed to the netPhotoGraphics master.

Once you are satisfied with your changes, make a "pull request" to update the netPhotoGraphics master. You can find the "pull request" link on the right sidebar of your repository. Click on the link, then on the "new pull request" button. The defaults for the request will make a request to pull your changes to the netPhotoGraphics master branch.

You can keep your fork up-to-date with netPhotoGraphics by executing the following Git commands:

 git remote remove upstream
 git remote add upstream https://github.com/ZenPhoto20/ZenPhoto20.git
 git fetch upstream
 git merge upstream/master

The development repository has a Windows batch file named `upstream20.bat` that contains these lines. Generally the Git desktop client will have a link that will get you to a shell with the appropriate environment setup.

Clone this wiki locally