Skip to content
daniel peter edited this page Aug 23, 2017 · 1 revision

Wiki - Teaching computational geophysics

This repository contains material used for the hands-on practicals. To download the files, a quick introduction to useful git-commands is given below.

How to use Git

Git is a version control system that helps to manage changes in source code over time. Github is a web-based, user-friendly repository based on git and free to use.

  1. Check if you already have Git installed on your machine :

Using a terminal, you would type:

$ git  --version
  1. Clone(copy) course content:

On your machine create a directory where you would like to have course content, for example:

$ mkdir ErSE390C
$ cd ErSE390C/

Download everything from course repository:

$ git clone https://github.com/danielpeter/teaching-computational-geophysics.git

Note that you might need a github account, to sign in you can go here: Github

You should have a local copy of the repository in your directory teaching-computational-geophysics/. Now everything from the course repo is on your machine. But course content will be periodically updated so you will have to be able to fetch changes.

  1. Update content:

To update your repository in case new files have been added to this github repository, you would type:

$ cd teaching-computational-geophysics/
$ git pull

That’s it!

Clone this wiki locally