---
# System prepended metadata

title: Get the code
tags: [PythonSetup]

---

---
title: Get the code
tags: PythonSetup
---

# Getting the code and working with it

This document summarizes how to get the code to quickly start working 
on the provided resources.

#### Project
**Scientific Python**
- https://vgitlab.zamg.ac.at/python-workshops-2021/penguin
- https://vgitlab.zamg.ac.at/python-workshops-2021/scientific-python

*If you already know what to do, please do as you please!* 

## Using Git

### Getting the code

1. Go to the project page
1. Click "Clone" and then "Open in your IDE"
   - SSH if you have an SSH key
   - HTTPS otherwise

### Making changes

Once you start modifying the files, you may run into merge conflicts when 
you try to pull updates from the repository.

You have the following options:
- Of each file you change, make a copy and modify it at will.
- Checkout a branch.
- Merge changes.

### Receive Updates

1. In VS Code's Source Control (`Ctrl+SHift+G`) do "Pull" to receive updates


## Without Git

### Getting the code

1. Go to the project page.
1. Click the "Download" button (next to clone).
1. Extract the archive and open the content in your IDE.

### Making changes

The code is not under version control, do as you please.

### Receive Updates

Download a fresh copy of the repository.