Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.

Slides:



Advertisements
Similar presentations
Introduction To GIT Rob Di Marco Philly Linux Users Group July 14, 2008.
Advertisements

Version Control CS440 – Introduction to Software Engineering © 2014 – John Bell Based on slides prepared by Jason Leigh for CS 340 University.
Simple Git Steve Pieper. Topics Git considerations and Slicer Git as if it were svn Git the way it is meant to be.
Version Control 1.  Version control (or revision control) is the term for the management of source files, and all of the intermediate stages as development.
om om GIT - Tips & Tricks / git.dvcs git-tips.com
Version Control What it is and why you want it. What is Version Control? A system that manages changes to documents, files, or any other stored information.
Patterns & practices Symposium 2013 Introducing Git version control into your team Mark
SubVersioN – the new Central Service at DESY by Marian Gawron.
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.
Source Control Repositories for Team Collaboration: SVN, TFS, Git Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training.
علیرضا فراهانی استاد درس: جعفری نژاد مهر Version Control ▪Version control is a system that records changes to a file or set of files over time so.
Source Control Repositories for Team Collaboration: SVN, TFS, Git.
With Mercurial and Progress.   Introduction  What is version control ?  Why use version control ?  Centralised vs. Distributed  Why Mercurial ?
Source Control Systems SVN, Git, GitHub SoftUni Team Technical Trainers Software University
Git – versioning and managing your software L. Grewe.
GIT An introduction to GIT Source Control. What is GIT (1 of 2) ▪ “Git is a free and open source distributed version control system designed to handle.
Version control Using Git Version control, using Git1.
ITEC 370 Lecture 16 Implementation. Review Questions? Design document on F, feedback tomorrow Midterm on F Implementation –Management (MMM) –Team roles.
Source Control Primer Patrick Cozzi University of Pennsylvania CIS Spring 2012.
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
…using Git/Tortoise Git
Introduction to Version Control with Git CSC/ECE 517, Fall 2014 A joint project of the CSC/ECE 517 staff, including Titus Barik, Gaurav Tungatkar, Govind.
Introduction to GitHub Alex Bigazzi Dec. 4, 2013 ITS Lab GitHub Introduction1.
QUICK START OF GITHUB Lin Shuo-Ren 2013/3/6 1. Why We Should Control The Version Although it rains, throw not away your watering pot. All changes should.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
Version Control Systems. Version Control Manage changes to software code – Preserve history – Facilitate multiple users / versions.
Sofia Event Center May 2014 Martin Kulov Git For TFS Developers.
Version Control System Lisa Palathingal 03/04/2015.
GIT.
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.
An Introduction to Git David Johndrow COMP 490 – Senior Design & Development 2/11/16.
It’s not just an insult from Harry Potter!. What is Git? Distributed Version Control System (DVCS) – Compared to a Centralized Version Control System.
Technical Presentation by: David Spano. About Git (VCS) Simple Git Commands Branching Github Git GUI Summary.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
GIT: (a)Gentle InTroduction Bruno Bossola. Agenda About version control Concepts Working locally Remote operations Enterprise adoption Q&A.
KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association STEINBUCH CENTRE FOR COMPUTING - SCC
Introduction to Git and git-svn Paul Gier Red Hat Sept. 27, 2011.
Version Control Systems
Introduction to Version Control with Git
Source Control Systems
4 Version control (part 1)
Source Control Systems
I Don’t Git It: A beginner’s guide to git Presented by Mathew Robinson
11 Version control (part 2)
LECTURE 2: Software Configuration Management
Git Practice walkthrough.
Version Control overview
Version control, using Git
Software Engineering for Data Scientists
Version Control with Git and GitHub
Version Control Systems
Distributed Version Control with git
Akshay Narayan git up to speed with RCS Akshay Narayan
LECTURE 3: Software Configuration Management
SIG: Open Week 1: GitHub Tim Choh.
Source Code Repository
Version Control System - Git
Introduction to Version Control with Git
Patrick Cozzi University of Pennsylvania CIS Fall 2012
Version Control with Git and GitHub
Git Fundamentals.
Hop Aboard the Git Train – Transitioning from TFVC
Git Introduction.
Git GitHub.
Introduction to The Git Version Control System
Presentation transcript:

Introduction to Git - Chirag Dani

Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio

From where to get? Free download available for Windows, Linux and Mac OS

Centralized and Distributed Centralized SVN CVS TFS VSS Distributed Git Mercurial Bazaar

Centralized Version Control - Locking

Centralized Version Control - Merge

Distributed Version Control

Centralized Version Control One master copy of project Only master has latest revision Only works till central server is available and online

Distributed Version Control Local copy of repository and full history Use branches to work on changes Work offline with local repository

Tools Visual Studio Git Bash Atlassian Source Tree Github and many more …

Repository Git Init Git Add Git Clone Magic hidden folder:.git – do not modify Two files:.gitattributes.gitignore

Branching Strategy “Each branch in itself is a repository” PRSD Project Strategy Master Develop Feature/ Hotfix

Branch Create a new branch Switch to another branch Checkout is different than TFS

Working Directory Tracked files Unmodified Modified Staged Untracked files Everything else Files in your working directory Tracked Untracked

File Status Lifecycle

Pushing a branch For example, I created a branch – goodidea If I want to share it, I need to push it Git Push goodidea git push

Basic merge conflicts Pauses the merge commit Git status shows unmerged conflicts Resolve & Commit Useful Commands: git add git mergetool git status git commit

Conflict What does a conflict look like? <<<<<<< HEAD:index.html contact : ======= please contact us at >>>>>>> story:index.html

How to resolve conflict? Merge Rebase

Resolved Conflict Using both HEAD and story please contact us at

Save work Commit Push Pull Request – Code Review Merge Delete

Git Bash

Queries

Thank You