-
Notifications
You must be signed in to change notification settings - Fork 26
Home
This repository contains material used for the hands-on practicals. To download the files, a quick introduction to useful git-commands is given below.
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.
- Check if you already have Git installed on your machine :
Using a terminal, you would type:
$ git --version
- 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.
- 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!