851-0585-04L – Modeling and Simulating Social Systems with MATLAB 21.07.2018 851-0585-04L – Modeling and Simulating Social Systems with MATLAB Lecture 1 – Introducing GIT Karsten Donnay and Stefano Balietti Chair of Sociology, in particular of Modeling and Simulation © ETH Zürich | © ETH Zürich |
Revision Control: What? 21.07.2018 Revision Control: What? Revision (or version) control systems are software aimed at managing changes to documents (text files). Famous version control software: TRADITIONAL: CVS, SVN; MODERN: Bazaar, Mercurial, GIT. Throughout the whole course GIT will be: Your precious ally in developing your project code. The default tool for the submission of your research proposal and the final submission of all the project files.
21.07.2018 Revision Control: Why? Because the human brain was not initially created for programming...
21.07.2018 Revision Control: Why? Team Work Betty Karl Kornelius
How to efficiently integrate our code ??? 21.07.2018 Revision Control: Why? Team Work How to efficiently integrate our code ??? Betty Karl Kornelius
How to efficiently integrate our code ??? 21.07.2018 Revision Control: Why? Team Work How to efficiently integrate our code ??? GIT provides automatic tools to visualize diff., merging code, and track the history of the project!! Betty Karl Kornelius
Revision Control: Why? Time Machine 1 3 4 6 Deadline for submission 21.07.2018 Revision Control: Why? Time Machine Deadline for submission Weeks 1 3 4 6 coding starts… Initial agent loop. Super-cool plot added. Simulation on network
Revision Control: Why? Time Machine 1 3 4 6 What to do now? breaks 21.07.2018 Revision Control: Why? Time Machine Deadline for submission Weeks 1 3 4 6 coding starts… Initial agent loop. Super-cool plot added. Simulation on network What to do now? breaks
Revision Control: Why? Time Machine 1 3 4 6 What to do now? breaks 21.07.2018 Revision Control: Why? Time Machine Deadline for submission Weeks 1 3 4 6 coding starts… Initial agent loop. Super-cool plot added. Simulation on network What to do now? breaks GIT can save periodic snapshots of your code (commits) All past commits are stored and can be easily reintegrated.
Revision Control: Why? Time Machine 1 3 4 6 What to do now? breaks 21.07.2018 Revision Control: Why? Time Machine Recover changes Deadline for submission Weeks 1 3 4 6 Super-cool plot is back coding starts… Initial agent loop. Super-cool plot added. Super-cool plot added. Simulation on network What to do now? breaks GIT can save periodic snapshots of your code (commits) All past commits are stored and can be easily reintegrated.
21.07.2018 Course repository The repository where you may find information concerning the course is: https://github.com/msssm It also gives you easy access to last year's projects (code, reports etc.) https://github.com/msssm/interesting_projects/wiki go to website here!!
References Git Home Page: http://git-scm.com/ 21.07.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/