Introduction to Git and Discussion on assignment 1 Gang Luo Sept. 14, 2010.

Slides:



Advertisements
Similar presentations
Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
Advertisements

David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Version Control Systems Phil Pratt-Szeliga Fall 2010.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Hosted Git github. From an alumni (2010)  You know, the more time I spent in industry the better I've understood what a strong advocate you are for the.
Using svn and git with Unity and sdk
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
A Simple Introduction to Git: a distributed version-control system CS 5010 Program Design Paradigms “Bootcamp” Lesson 0.5 © Mitchell Wand, This.
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
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.
With Mercurial and Progress.   Introduction  What is version control ?  Why use version control ?  Centralised vs. Distributed  Why Mercurial ?
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 8-Oct-15.
Source Code Control CSE 3902 Matt Boggus. Source code control options for CSE 3902 Must use source code control that is integrated with Visual Studio.
Version control Using Git Version control, using Git1.
Source Control Primer Patrick Cozzi University of Pennsylvania CIS Spring 2012.
Drexel University Software Engineering Research Group Git for SE101 1.
Version Control. How do you share code? Discussion.
…using Git/Tortoise Git
Git workflow and basic commands By: Anuj Sharma. Why git? Git is a distributed revision control system with an emphasis on speed, data integrity, and.
Version Control Group Wen-hao Zeng Richard Liou. 2 Introduction Several groups develop the ITS concurrently Accumulated modification of files can cause.
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
Git Fundamentals Rochelle Terman 13 January 2014.
Version Control with SVN Images from TortoiseSVN documentation
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
A Simple Introduction to Git: a distributed version-control system CS 5010 Program Design Paradigms “Bootcamp” Lesson 0.5 © Mitchell Wand, This.
Version Control System Lisa Palathingal 03/04/2015.
Intro to Git presented by Brian K. Vagnini Hosted by.
© 2015 by Herb Holyst Introduction to git Cytomics Workshop December, 2015.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
Hosted Git github. From an alumnus (2010)  You know, the more time I spent in industry the better I've understood what a strong advocate you are for.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
INTRODUCTION TO GIT. Install Egit for eclipse Open eclipse->Help->Install New Software Search for one of the following -
Using Git with collaboration, code review, and code management for open source and private projects. & Using Terminal to create, and push commits to repositories.
1 Ivan Marsic Rutgers University LECTURE 2: Software Configuration Management.
1. A new git is initialized as a remote repository JohnRemote repositoryPeter master C0 CodingWhileBlack.com PROPEL CODING
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.
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
Version Control Systems
Source Control Systems
Discussion #11 11/21/16.
Open Source Software Development Environment
LECTURE 2: Software Configuration Management
Version Control.
Discussion 11 Final Project / Git.
Version Control Systems
Mercurial & TorToise-HG
Concurrent Version Control
An introduction to version control systems with Git
Git Workflows.
An introduction to version control systems with Git
Source Code Management
LECTURE 3: Software Configuration Management
The Big Picture
slides borrowed and adapted from Alex Mariakis and CSE 390a
An introduction to version control systems with Git
Getting Started with Git and Bitbucket
Advantages Project Career Divide & Conquer Collaboration
Using Github.
Git CS Fall 2018.
Introduction to Git and GitHub
Version/revision control via git
Introduction to Git and Github
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Git GitHub.
Presentation transcript:

Introduction to Git and Discussion on assignment 1 Gang Luo Sept. 14, 2010

Git Source code management Version control Enable team collaboration –One central repository, multiple local copies –Synchronize local copy with the central one to ensure everybody see the latest modification You should access the central repository from linux.cs.duke.edu, instead of hadoop21.cs.duke.edu

Before we start Install Git –PuTTY + Git (for windows) –Eclipse + EGit (for windows/Linux) –linux.cs.duke.edu (Git already installed ) –apt-get install git-core (for Ubuntu Linux) –yum install git-core (for Federa/Other Linux) Initilization –Set user name, and color to highlight something Clone –Localize a copy of remote repository –git clone RNAME.git

Using Git Adding files –git add. (don’t forget the dot which means all) Commit changes –git commit –m “message” –a –“message” could be anything you want to appear in the log Synchronize with remote repository –git push Push your modification to the central repository –git pull Update your local copy from the central repository

Convention for you submission Put you code in the appropriate directories –e.g. cps216/assignemnt1/parta Give README file –Briefly shows the organization of your code, the meaning of each class and instructions on how to run your code

Demo Time

Some issues for assignment 1 Output key/value type setting –setOutputValueClass() and setOutputKeyClass() cover both map and reduce output key/value type. What if your mapper output types are different from reducer? –Specify map input/output by setMapOutputValueClass() and/or setMapOutputKeyClass()

Some issues for assignment 1 Input/output types for combiner –Input types should be the same as map output types. (Obviously) –Output types should be also the same as map output types. (why?) Combiner is not called on every record. If you have a different output types in combiner, you will end up with having two different types at reducer. (K1, V1) → (K2, V2) → (K2, V2) → (K2, V2) → (K2, V2) → (K3, V3) MapperCombinerReducer

Some issues for assignment 1 Separate a string by separator “|” –If “|” doesn't work, try “\\|” Need to ship more than one value in one value object? –Implement you own Writable type, or –Use Text. “23#16#87” contains three values in one string! configure(JobConf conf) –Put your initialization in this method –Good place to retrieve some parameters from JobConf. ( conf.getXXX() )