L – Modeling and Simulating Social Systems with MATLAB

Slides:



Advertisements
Similar presentations
An Introduction By Sonali and Rasika.  Required for the project  Show the versions of your code in the course of development  Show versions of your.
Advertisements

Github. Download & install git   Git bash  Git GUI.
1 Web Design Workshop DIG 4104c Spring 2014 Dr. J. Michael Moshell University of Central Florida Lecture 2: The git source control system
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
Git Intro Information mostly from Pro Git. Prepare  Start Eclipse, we have a 5-minute exercise later.
Git: Part 1 Overview & Object Model These slides were largely cut-and-pasted from tutorial/, with some additions.
Distributed Version Control. Image stolen from which is really good, go read it.  Old-school version control.
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
RMG Study Group Session I: Git, Sphinx, webRMG Connie Gao 9/20/
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
علیرضا فراهانی استاد درس: جعفری نژاد مهر Version Control ▪Version control is a system that records changes to a file or set of files over time so.
Peter Ogden and Josh Levine.  Motivation  High level overview  Walk through the common operations  How not to break things (too badly)
Git – versioning and managing your software L. Grewe.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 8-Oct-15.
Version Control. How do you share code? Discussion.
Git Basics. Git stores data as snapshots of the project over time When commit Save all the files If files have not changed, point to the previous identical.
Introduction to GitHub Alex Bigazzi Dec. 4, 2013 ITS Lab GitHub Introduction1.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
Intro to Git presented by Brian K. Vagnini Hosted by.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.
Learning Unix/Linux Based on slides from: Eric Bishop.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 28-Jun-16.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
Backing up a machine with git
Version Control Systems
Basics of GIT for developers and system administrators
Introduction to the Command Line for Data Analysts Gus Cavanaugh
M.Sc. Juan Carlos Olivares Rojas
Source Control Systems
L – Modeling and Simulating Social Systems with MATLAB
Discussion #11 11/21/16.
CS/COE 1520 Recitation Week 2
L – Modeling and Simulating Social Systems with MATLAB
SSE2034: System Software Experiment 3 Spring 2016
Discussion 11 Final Project / Git.
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
Version Control overview
Version control, using Git
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
Sign in on the attendance sheet!
Version Control Systems
Lab 1 introduction, debrief
An introduction to version control systems with Git
Version Control with Git accelerated tutorial for busy academics
Distributed Version Control with git
Akshay Narayan git up to speed with RCS Akshay Narayan
An introduction to version control systems with Git
SIG: Open Week 1: GitHub Tim Choh.
An introduction to version control systems with Git
Git-Github Tools Prepared for COP4331. Git-Github Tools Prepared for COP4331.
Version control with Git Part II
Git CS Fall 2018.
Version control with Git
Introduction to Git and GitHub
Convert an Eclipse Project to a Git repository and push up to GitHub
Git started with git: 2018 edition
Version/revision control via git
Introduction to Git and Github
Git GitHub.
Advanced Git for Beginners
Presentation transcript:

851-0585-04L – Modeling and Simulating Social Systems with MATLAB 19.05.2018 851-0585-04L – Modeling and Simulating Social Systems with MATLAB Lecture 2 – Let’s GIT started: local operations Karsten Donnay and Stefano Balietti Chair of Sociology, in particular of Modeling and Simulation © ETH Zürich | © ETH Zürich |

Let’s Git Started: local operations 19.05.2018 Let’s Git Started: local operations In this mini tutorial you will receive the basic knowledge to work with GIT in your local machine GIT is a great tool when combined with an online repository, but this is the topic of next week.

Let’s Git Started: local operations 19.05.2018 Let’s Git Started: local operations GIT is free, open source software. http://git-scm.com/ Works from GUI and from terminal (command-line) On the Lab machines you can launch it with: GIT Bash (Windows) git (Linux – command line only)

Let’s Git Started: command line ?!?? 19.05.2018 Let’s Git Started: command line ?!?? Don‘t panic! You need just three commands: (but you can learn more...) Change directory: cd List files in a directory: ls Create a new directory: mkdir <name_of_dir>

Let’s Git Started: initialization 19.05.2018 Let’s Git Started: initialization Open a terminal or GIT Bash. Set the language to English (if you like) Browse to the directory with the project template files. Initialize your first GIT repository $ export LANG=en_us $ cd /path/to/your/files/ $ git init

Let’s Git Started: introduction 19.05.2018 Let’s Git Started: introduction Introduce yourself to GIT.

Let’s Git Started: introduction 19.05.2018 Let’s Git Started: introduction Introduce yourself to GIT. $ git config --global user.name "Your Name" $ git config --global user.email i@me.com

Let’s Git Started: give GIT tasks 19.05.2018 Let’s Git Started: give GIT tasks Tell GIT which files you would like to track for changes. Take a snapshot (commit) of all tracked files $ git add file1 file2 $ git add . $ git commit –m “This is my first commit”

Let’s Git Started: do your job… 19.05.2018 Let’s Git Started: do your job… Do any modification to the content of the files. Get the update of the status of the repository $ git status Visualize the differences in the terminal. Visualize the differences in a GUI client $ git diff $ gitk ; git gui ; gitx (for MAC)

Some hints how to use GIT for your code 19.05.2018 Some hints how to use GIT for your code Commit often. Use appropriate commit messages. Do not rename the file names manually (use git mv) New files are not automatically indexed, must be added. Careful with git add . Rather choose the files: git add file1 Write a .gitignore file or use git ignore for files that you never want to commit (e.g. big datasets)

References Git Home Page: http://git-scm.com/ 19.05.2018 References Git Home Page: http://git-scm.com/ Git General Info: http://git-scm.com/about Github Home Page: https://github.com/ GitX (a gui for OS X): http://gitx.frim.nl/ Git in 5 minutes: http://www.fiveminutes.eu/a-case-for-git/ Git Book http://book.git-scm.com/