Лекция 1 Обзор курса и средств разработки. Система поддержки версий GIT ls -la total.

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.
Introduction to git Alan Orth Nairobi, Kenya September, 2010 version control for serious hackers ;)
Patterns & practices Symposium 2013 Introducing Git version control into your team Mark
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
Introduction to Git and Github Joshua imtraum.com.
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
Fundamentals of Git By Zachary Ling 29 th, Aug,
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.
Git. What’s Git? A British swear A Distributed Version Control System Developed in 2005 by Linus Torvalds for use on the Linux Kernel Git Logo by Jason.
WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010.
علیرضا فراهانی استاد درس: جعفری نژاد مهر 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 A distributed version control system Powerpoint credited to University of PA And modified by Pepper 8-Oct-15.
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
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.
Git Super Basics. What is Git? Version Control System (VCS) Successor to SVN in the Drupal eco-system A tool.
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.
Falcons Git Usage Andre Pool Version 2.0 October 2015 / Veldhoven.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
© 2015 by Herb Holyst Introduction to git Cytomics Workshop December, 2015.
It’s not just an insult from Harry Potter!. What is Git? Distributed Version Control System (DVCS) – Compared to a Centralized Version Control System.
INTRODUCTION TO GIT. Install Egit for eclipse Open eclipse->Help->Install New Software Search for one of the following -
Git How to 1. Why Git To resolve problems in lab exams (accidental deletions) Use existing Libraries with ease (Statistics and Computer) Prepare undergraduates.
Carl’s Ultra-Basic Guide to the Command Line and Git Carl G. Stahmer Director of Digital Scholarship cstahmer UD Davis Data Science.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
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
Git for bzr users October Aurélien Gâteau An attempt at making you comfortable when you have to work with a git repository.
Git. Eine Einführung. Was ist das und was macht man damit? Aber vor Allem: Wie funktioniert das? Copyright © 2010 Steffen Neubauer –
Backing up a machine with git
M.Sc. Juan Carlos Olivares Rojas
L – Modeling and Simulating Social Systems with MATLAB
CReSIS Git Tutorial.
Git-Github Safa Prepared for the course COP4331 – Fall 2016.
Git Practice walkthrough.
CS/COE 1520 Recitation Week 2
Setting up Git, GitBash, and GitHub
Setting up Git, GitBash, and GitHub
SSE2034: System Software Experiment 3 Spring 2016
Integration Methodology and Procedures
L – Modeling and Simulating Social Systems with MATLAB
Version Control overview
An introduction to version control systems with Git
Distributed Version Control with git
Akshay Narayan git up to speed with RCS Akshay Narayan
An introduction to version control systems with Git
The Big Picture
SIG: Open Week 1: GitHub Tim Choh.
Setting up Git, GitBash, and GitHub
An introduction to version control systems with Git
Git-Github Tools Prepared for COP4331. Git-Github Tools Prepared for COP4331.
Advantages Project Career Divide & Conquer Collaboration
Source Code Repository
Version control with Git Part II
Using Github.
Git CS Fall 2018.
Version Control System - Git
Version control with Git
Introduction to Git and GitHub
Version Control with Git
Version/revision control via git
Git Introduction.
Git GitHub.
Introduction to The Git Version Control System
Advanced Git for Beginners
Presentation transcript:

Лекция 1 Обзор курса и средств разработки

Система поддержки версий GIT ls -la total 8 drwxr-xr-x 2 ewgenij users 4096 Sep 12 12:24. drwxr-xr-x 7 ewgenij users 4096 Sep 11 20:12.. -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.c -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.dat -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 README -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 s.cpp git init Initialized empty Git repository in /home/ewgenij/Documents/СибГУТИ/ProgramDesignCourse/workshop/.git/ ls -la total 12 drwxr-xr-x 3 ewgenij users 4096 Sep 12 12:44. drwxr-xr-x 7 ewgenij users 4096 Sep 11 20:12.. -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.c -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.dat drwxr-xr-x 7 ewgenij users 4096 Sep 12 12:44.git -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 README -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 s.cpp

git add 1.c README git commit 1.c README -m 'First' [master (root-commit) b47d575] First 2 files changed, 0 insertions(+), 0 deletions(-) create mode c create mode README git branch * master git branch a_test_branch git branch a_test_branch * master cat README This is a test file (local branch master) git checkout a_test_branch M README Switched to branch 'a_test_branch' git branch * a_test_branch master vim README git add README git commit README -m 'local changes for a_...' [a_test_branch dc4fcb3] local changes for a_... 1 file changed, 1 insertion(+), 1 deletion(-) cat README Text has been changed in a_... branch

ssh -L 2222:dew.lab7.lan:22 Enter passphrase for key '/home/ewgenij/.ssh/id_rsa': password: Last login: Wed Sep 11 12:36: from ~]$ ssh -XY -p 2222 Enter passphrase for key '/home/ewgenij/.ssh/id_rsa': Password: Last login: Wed Sep 11 12:40: from site.lan Have a lot of fun... mkdir tmp cd tmp git clone :/home/ewgenij/Documents/СибГУТИ/ProgramDesignCourse/workshop. Cloning into '.'... Enter passphrase for key '/home/ewgenij/.ssh/id_rsa': Password: remote: Counting objects: 3, done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0) Receiving objects: 100% (3/3), done.

ls -la total 20 drwxr-xr-x 3 ewgenij lab Sep 12 13:49. drwxr-xr-x 100 ewgenij lab Sep 12 13:44.. -rw-r--r-- 1 ewgenij lab7 0 Sep 12 13:49 1.c drwxr-xr-x 8 ewgenij lab Sep 12 13:49.git -rw-r--r-- 1 ewgenij lab7 0 Sep 12 13:49 README git branch * master ls -la total 16 drwxr-xr-x 3 ewgenij users 4096 Sep 12 13:26. drwxr-xr-x 7 ewgenij users 4096 Sep 11 20:12.. -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.c -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.dat drwxr-xr-x 8 ewgenij users 4096 Sep 12 13:16.git -rw-r--r-- 1 ewgenij users 58 Sep 12 13:26 README -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 s.cpp git branch * a_test_branch master

git branch I_Ivanov git checkout I_Ivanov git branch * I_Ivanov a_test_branch master vim test.txt vim README git add * git commit * -m 'for push' git remote -v origin :/home/ewgenij/Documents/СибГУТИ/ProgramDesignCourse/workshop (fetch) origin :/home/ewgenij/Documents/СибГУТИ/ProgramDesignCourse/workshop (push) git push origin I_Ivanov Enter passphrase for key '/home/ewgenij/.ssh/id_rsa': Password: Counting objects: 6, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (4/4), 401 bytes, done. Total 4 (delta 0), reused 0 (delta 0) To :/home/ewgenij/Documents/СибГУТИ/ProgramDesignCourse/workshop bd1a25e..cfec552 I_Ivanov -> I_Ivanov

ll total 8 -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.c -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 1.dat -rw-r--r-- 1 ewgenij users 72 Sep 12 16:01 README -rw-r--r-- 1 ewgenij users 0 Sep 12 12:24 s.cpp -rw-r--r-- 1 ewgenij users 28 Sep 12 16:01 test.txt git branch I_Ivanov * a_test_branch master git checkout I_Ivanov Switched to branch 'I_Ivanov' cat README This is a test file (local branch master) It was changed by Ivan Ivanov

GitHub (

git clone git branch * master vim IFunction.h git add IFunction.h git commit IFunction.h -m 'first local commit' [master b8daeab] first local commit Committer: SibSUTI masters Your name and address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user. After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 files changed, 2 insertions(+), 0 deletions(-) Git version > 1.7.9!

git remote -v origin (fetch) origin (push) git push origin master Username for ' sibmaster Password for Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 319 bytes | 0 bytes/s, done. Total 3 (delta 2), reused 0 (delta 0) To a99ea57..6b1cd71 master -> master

Поддержка GIT в IDE Eclipse

Схема вычислительных ресурсов проекта

putti (free) Winscp (free) Xmanager (30 days evoluation) Knoppix (free) Eclipse (free) Git (версия > 1.7.9) (free) CUDA SDK 5.0 (free) Для MS Windows Кросс-платформенные приложения Для станций с картами NVIDIA