# COSIMA Hackathon 2025 - G2 training

**URL:** https://forum.access-hive.org.au/t/cosima-hackathon-2025-g2-training/5161
**Category:** COSIMA
**Created:** [3 September 2025 01:08 UTC](https://forum.access-hive.org.au/t/cosima-hackathon-2025-g2-training/5161 "2025-09-03T01:08:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)
#### Post date: [3 September 2025 01:08 UTC](https://forum.access-hive.org.au/t/cosima-hackathon-2025-g2-training/5161/1 "2025-09-03T01:08:28Z")

</div>

# About

This is material to support training for the **G2** group at the [COSIMA hackathon v5.0](https://forum.access-hive.org.au/t/cosima-2-day-hackathon-v5-0-monday-sep-8-tuesday-sep-9-2025/4794), 8th Sept 2025.

Contributions to COSIMA Recipes are typically made using _pull requests_, a mechanism for contributing your own code to a repository via GitHub. This training session is aimed at people who are new to making pull requests.

No prior knowledge is assumed, and by the end, you will have made a pull request to a demo repository, which uses the same mechanism that you can use to contribute to cosima-recipes (or any other repository on GitHub!).

# Prerequisites

Please follow the prerequisites [here](https://forum.access-hive.org.au/t/cosima-2-day-hackathon-v5-0-monday-sep-8-tuesday-sep-9-2025/4794/6). For this session, only 1. and 4. are needed.

# On the day

The training session will walk through the guide [in this github repository](https://github.com/ACCESS-NRI/cosima-hackathon-2025-fork-and-pr), which contains all the session materials.

### Outline

1. Forking a repository
  - We will create our own version (a fork) of a repository, that we can then contribute back to the original from.

2. Creating a new branch
  - We will use git to create a new branch, which lets us make changes in an isolated environment on our local machine.

3. Pushing changes
  - We will send our local isolated changed to our version of the repository.

4. Creating a Pull Request
  - We will use a _Pull Request_ to contribute our changes back to the original/main repository.

---

<div class="post-metadata">

### Author: ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)
#### Post date: [3 September 2025 20:16 UTC](https://forum.access-hive.org.au/t/cosima-hackathon-2025-g2-training/5161/2 "2025-09-03T20:16:39Z")

</div>

People in Group 2 might find the [COSIMA Recipes wiki](https://github.com/COSIMA/cosima-recipes/wiki) a useful reference for after this training session. It has git cheat sheet instructions for forking, cloning and contributing.

Also please edit or give feedback to the wiki instructions if you see how they could be improved.
