- Install GitHub Desktop on your computer
- Open GitHub Desktop
- Sign in with your GitHub credentials
- Go to https://github.com/BCDH/lexica-latina
- Fork the repository
- In the forked repository, click on "Clone or download" then select "Open in Desktop"
- In GitHub Desktop choose where you want to save the Lexica Latina clone on your computer
- Locate your working copy.
Go to the folder where you cloned your fork. - Do your work.
- Commit your work.
This will save your initial work to your local working copy. - Push your work. This will save your intial work to your fork remotely.
- Create a pull request.
This will alert the repository admin person that there are changes that should be merged into the original repository.
Before you make your next contribution, you have to make sure that your local branch is up to date and in sync with the original repo. Remember, you made a fork off of the original repo at some point, but other people may have contributed to it in the meantime. So it's very important that you follow this procedure every time you start doing work on your branch again.
- In GitHub Desktop, in your local working copy, fetch origin.
This will check whether there were any changes made to your fork remotely (i.e. if you committed and pushed some stuff to your fork from a different computer) - If GitHub Desktop instructs you to pull origin, pull origin.
This will make sure that your local and your remote files are in sync. - Branch > Merge into current branch > Upstream/master
This will now, in addition, update your fork with all the contributions that have been merged into the original repo from other forks. Remember, each contributor works in their own fork. - If GitHub Desktop instructs you to push origin, push origin.
This will make sure that the changes from the original repo, which you've just added to your local master branch in the previous step, will also make it to your remote master branch. With your local and remote branches fully updated and sync you can finally get to do your work. - Do your work.
- Commit your work.
This will save your work to your local branch. - Push origin.
This will save your work to your remote branch. - Create a pull request.
This will alert the repository admin person that there are changes in your fork that should be merged into the original repository.