SlideShare a Scribd company logo
GIT and its Extension Training

Eric Guo
                         2012-03-27
Training Agenda
•   Version Control History, GIT Design Goal
•   GIT Extension Installation and Setup
•   GIT Concept and Terminology
•   GIT Daily Usage in SVN way
•   Create your own GIT repo (local &
    remote)
•   New GIT feature and further more manual
Version Control History
   manually keep track of versions of code! (1960s)
   keep lots of versions in one file! (1972, SCCS)
   You can each have your own copy checked out! (1982,
    RCS)
   version multiple files at once! (1986, CVS, atomic by
    Subversion 2000)
   shared repository can be on a remote machine! (1994,
    CVS with )
   open source version control hosting! (1999,
    SourceForge)
   no central repository! (2005, GIT)
   When you checkout that’s a fork too, and you can do
    that in public! (2008, GIThub)
GIT & GitHub History
   Torvalds wanted a distributed system that he could
    use like BitKeeper, but none of the available free
    systems met his needs, particularly his performance
    needs. From an email he wrote on 7 April 2005 while
    writing the first prototype.
   GitHub is a web-based hosting service for software
    development projects that use the Git revision
    control system. GitHub offers both commercial plans
    and free accounts for open source projects.
    According to the Git User's Survey in 2009, GitHub is
    the most popular Git hosting site.
GIT Design Goal
•   Take CVS as an example of what not to do; if in
    doubt, make the exact opposite decision.
•   Support a distributed, BitKeeper-like workflow
•   Very high performanc and strong safeguards
    against corruption, either accidental or malicious
GIT Extension Design Goal
•   GitExtensions is a shell extension, a Visual Studio
    2008 / 2010 plug-in and a standalone GIT
    repository tool.
•   Great tools enable you think and work in Unix style
    gradually
GIT Extension Installation – All User
   http://code.google.com/p/gitextensions/ (download
    URL)
GIT Extension Installation – Both
GIT Extension Installation - Integration
GIT Extension Installation - PuTTY
GIT Extension Installation - KDiff3
GIT Extension Installation – MsysGIT
GIT Extension Installation – Bash only
GIT Extension Installation – cross-platform
GIT Extension Setup
GIT Extension  Settings  Settings to fill:
 User Name
 eMail
GIT Generate SSH Key
GIT Email your Public key to Admin
                      • Copy selection text
                      and email to your
                      Admin
                      • Save private key
                      because you need
                      private key to login
                      latter
                      • Loss private key
                      need regenerate
                      private key and resent
                      public key to Admin
GIT clone your first repositories to test




   Repository to clone: gitolite@cvpscmip01:testing
GIT Commit your first change to test
GIT Daily Usage in SVN way
   Clone (SVN Checkout)
   Commit (in Local!)
   Push (SVN Commit)
   Pull (SVN Update All)
   gitK (SVN History)
GIT Concept
and
Terminology
gitK – a commit viewer for git
GIT Key Sales Point

• Very fast and user friendly
• Source Code Repository is
    distributed, isolated, history
    complete
•   All action can run in Local except
    pull and push
•   Submit and rollback always success
    (until pull and push)
•   Can fix last submit very easily
Create your GIT repository in GIT Extension
Open Repopsitory  Your not GIT init yet folder  Initialize Repository
Add .gitignore for VS.NET intermediate files
Forgot any add ignore file and pattern in Subversion, now it’s a One-click only!
      But don’t forgot to add ignore files
       when you initial the repository!
Commit initial version of files
Push your repository to CVPSCMIP01
You can to put any repository to: (no need inform GIT admin!)
gitolite@cvpscmip01:/usr/[yourname]/[your_repository_name]
Your repository is also visible at Web!
Suggestion:
1. Work as own at first in your usr folder. (No need to inform GIT Admin)
2. Rise your project to root folder if it is company widely used and relatively stable. (Need GIT
   Admin help)
3. Old Subversion project will moved to root folder by GIT Admin already




http://cvpscmip01/usr/eric/MTtest-Assistant.git
More GIT tricks need SSH and console now
Setting more description for your own repository:




6749@SHE127731 /d/git
$ echo "A semi-auto MES Yield Limit Batch setting tools used in SPAS 125-001" | ssh
gitolite@cvpscmip01 setdesc usr/eri
c/YieldLimits-Change
Enter passphrase for key '/c/Users/6749/.ssh/id_rsa':
New description is:
A semi-auto MES Yield Limit Batch setting tools used in SPAS 125-001
More document and essay about GIT
 GitExtensions User Manual (in your
  hard drive after install GIT Extension)
 Pro GIT (Chinese)
 GIT Magic (Chinese)
 《Git权威指南》
Things we not mentioned:
 GIT command line
 Branch, Merge, Rebase, Cherry Pick
Ad

More Related Content

What's hot (20)

GitLab.pptx
GitLab.pptxGitLab.pptx
GitLab.pptx
LeoulZewelde1
 
Git 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using Git
Geoff Hoffman
 
git and github
git and githubgit and github
git and github
Darren Oakley
 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
Bioinformatics and Computational Biosciences Branch
 
Git & git hub
Git & git hubGit & git hub
Git & git hub
PreetikaKanojia
 
Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Introducing GitLab (September 2018)
Introducing GitLab (September 2018)
Noa Harel
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
Safique Ahmed Faruque
 
Sử dụng GIT cho người mới bắt đầu (Tiếng Việt)
Sử dụng GIT cho người mới bắt đầu (Tiếng Việt)Sử dụng GIT cho người mới bắt đầu (Tiếng Việt)
Sử dụng GIT cho người mới bắt đầu (Tiếng Việt)
Thanh Bùi
 
Introduction to Git/Github - A beginner's guide
Introduction to Git/Github - A beginner's guideIntroduction to Git/Github - A beginner's guide
Introduction to Git/Github - A beginner's guide
Rohit Arora
 
GIT presentation
GIT presentationGIT presentation
GIT presentation
Naim Latifi
 
Secrets of Performance Tuning Java on Kubernetes
Secrets of Performance Tuning Java on KubernetesSecrets of Performance Tuning Java on Kubernetes
Secrets of Performance Tuning Java on Kubernetes
Bruno Borges
 
Git
GitGit
Git
Khulna University of Engineering & Tecnology
 
Version control
Version controlVersion control
Version control
visual28
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
Jeremy Coates
 
Jenkins-CI
Jenkins-CIJenkins-CI
Jenkins-CI
Gong Haibing
 
Intro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucketIntro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucket
Legal Services National Technology Assistance Project (LSNTAP)
 
Git and github 101
Git and github 101Git and github 101
Git and github 101
Senthilkumar Gopal
 
Git Started With Git
Git Started With GitGit Started With Git
Git Started With Git
Nick Quaranto
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
Rakesh Sukumar
 
CI/CD
CI/CDCI/CD
CI/CD
AmitDhodi
 

Similar to Git extension-training (20)

Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
tnscharishma
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
Gourav Varma
 
Git overview
Git overviewGit overview
Git overview
Gowarthini
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
ePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version Control
Giuseppe Masetti
 
Version control git day03(amarnath dada)
Version control   git day03(amarnath dada)Version control   git day03(amarnath dada)
Version control git day03(amarnath dada)
Gourav Varma
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
Wycliff1
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
Gourav Varma
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
Kishor Kumar
 
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
Nyros Technologies
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
Gourav Varma
 
GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
Nyros Technologies
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
KeerthanaJ32
 
Introduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxIntroduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptx
Abdul Salam
 
Git training (basic)
Git training (basic)Git training (basic)
Git training (basic)
Arashdeepkaur16
 
Learn Git - For Beginners and Intermediate levels
Learn Git - For Beginners and Intermediate levelsLearn Git - For Beginners and Intermediate levels
Learn Git - For Beginners and Intermediate levels
Gorav Singal
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
An introductory guide to GIT
An introductory guide to GITAn introductory guide to GIT
An introductory guide to GIT
Amith jayasekara
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
tnscharishma
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
Gourav Varma
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
ePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version Control
Giuseppe Masetti
 
Version control git day03(amarnath dada)
Version control   git day03(amarnath dada)Version control   git day03(amarnath dada)
Version control git day03(amarnath dada)
Gourav Varma
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
Wycliff1
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
Gourav Varma
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
Kishor Kumar
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
Gourav Varma
 
Introduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxIntroduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptx
Abdul Salam
 
Learn Git - For Beginners and Intermediate levels
Learn Git - For Beginners and Intermediate levelsLearn Git - For Beginners and Intermediate levels
Learn Git - For Beginners and Intermediate levels
Gorav Singal
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
An introductory guide to GIT
An introductory guide to GITAn introductory guide to GIT
An introductory guide to GIT
Amith jayasekara
 
Ad

More from Eric Guo (7)

使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai
使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai
使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai
Eric Guo
 
二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024
二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024
二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024
Eric Guo
 
全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system
全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system
全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system
Eric Guo
 
Dragon Ruby 孩子的游戏编程.pdf
Dragon Ruby 孩子的游戏编程.pdfDragon Ruby 孩子的游戏编程.pdf
Dragon Ruby 孩子的游戏编程.pdf
Eric Guo
 
Rails 6 frontend frameworks
Rails 6 frontend frameworksRails 6 frontend frameworks
Rails 6 frontend frameworks
Eric Guo
 
Shadowsocks Go
Shadowsocks GoShadowsocks Go
Shadowsocks Go
Eric Guo
 
Web TCard - Speed optimization
Web TCard - Speed optimizationWeb TCard - Speed optimization
Web TCard - Speed optimization
Eric Guo
 
使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai
使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai
使用 Dify 做 AI 应用 - 接触2周的一些小想法小心得分享 Ruby Tuesday Shanghai
Eric Guo
 
二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024
二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024
二次开发开源项目管理工具 OpenProject by Eric-Guo at RubyConf China 2024
Eric Guo
 
全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system
全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system
全栈三个月开发绩效系统 using Rails 7.1 to develop people performance evaluation system
Eric Guo
 
Dragon Ruby 孩子的游戏编程.pdf
Dragon Ruby 孩子的游戏编程.pdfDragon Ruby 孩子的游戏编程.pdf
Dragon Ruby 孩子的游戏编程.pdf
Eric Guo
 
Rails 6 frontend frameworks
Rails 6 frontend frameworksRails 6 frontend frameworks
Rails 6 frontend frameworks
Eric Guo
 
Shadowsocks Go
Shadowsocks GoShadowsocks Go
Shadowsocks Go
Eric Guo
 
Web TCard - Speed optimization
Web TCard - Speed optimizationWeb TCard - Speed optimization
Web TCard - Speed optimization
Eric Guo
 
Ad

Recently uploaded (20)

AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 

Git extension-training

  • 1. GIT and its Extension Training Eric Guo 2012-03-27
  • 2. Training Agenda • Version Control History, GIT Design Goal • GIT Extension Installation and Setup • GIT Concept and Terminology • GIT Daily Usage in SVN way • Create your own GIT repo (local & remote) • New GIT feature and further more manual
  • 3. Version Control History  manually keep track of versions of code! (1960s)  keep lots of versions in one file! (1972, SCCS)  You can each have your own copy checked out! (1982, RCS)  version multiple files at once! (1986, CVS, atomic by Subversion 2000)  shared repository can be on a remote machine! (1994, CVS with )  open source version control hosting! (1999, SourceForge)  no central repository! (2005, GIT)  When you checkout that’s a fork too, and you can do that in public! (2008, GIThub)
  • 4. GIT & GitHub History  Torvalds wanted a distributed system that he could use like BitKeeper, but none of the available free systems met his needs, particularly his performance needs. From an email he wrote on 7 April 2005 while writing the first prototype.  GitHub is a web-based hosting service for software development projects that use the Git revision control system. GitHub offers both commercial plans and free accounts for open source projects. According to the Git User's Survey in 2009, GitHub is the most popular Git hosting site.
  • 5. GIT Design Goal • Take CVS as an example of what not to do; if in doubt, make the exact opposite decision. • Support a distributed, BitKeeper-like workflow • Very high performanc and strong safeguards against corruption, either accidental or malicious
  • 6. GIT Extension Design Goal • GitExtensions is a shell extension, a Visual Studio 2008 / 2010 plug-in and a standalone GIT repository tool. • Great tools enable you think and work in Unix style gradually
  • 7. GIT Extension Installation – All User  http://code.google.com/p/gitextensions/ (download URL)
  • 13. GIT Extension Installation – Bash only
  • 14. GIT Extension Installation – cross-platform
  • 15. GIT Extension Setup GIT Extension  Settings  Settings to fill:  User Name  eMail
  • 17. GIT Email your Public key to Admin • Copy selection text and email to your Admin • Save private key because you need private key to login latter • Loss private key need regenerate private key and resent public key to Admin
  • 18. GIT clone your first repositories to test Repository to clone: gitolite@cvpscmip01:testing
  • 19. GIT Commit your first change to test
  • 20. GIT Daily Usage in SVN way  Clone (SVN Checkout)  Commit (in Local!)  Push (SVN Commit)  Pull (SVN Update All)  gitK (SVN History)
  • 22. gitK – a commit viewer for git
  • 23. GIT Key Sales Point • Very fast and user friendly • Source Code Repository is distributed, isolated, history complete • All action can run in Local except pull and push • Submit and rollback always success (until pull and push) • Can fix last submit very easily
  • 24. Create your GIT repository in GIT Extension Open Repopsitory  Your not GIT init yet folder  Initialize Repository
  • 25. Add .gitignore for VS.NET intermediate files Forgot any add ignore file and pattern in Subversion, now it’s a One-click only! But don’t forgot to add ignore files when you initial the repository!
  • 27. Push your repository to CVPSCMIP01 You can to put any repository to: (no need inform GIT admin!) gitolite@cvpscmip01:/usr/[yourname]/[your_repository_name]
  • 28. Your repository is also visible at Web! Suggestion: 1. Work as own at first in your usr folder. (No need to inform GIT Admin) 2. Rise your project to root folder if it is company widely used and relatively stable. (Need GIT Admin help) 3. Old Subversion project will moved to root folder by GIT Admin already http://cvpscmip01/usr/eric/MTtest-Assistant.git
  • 29. More GIT tricks need SSH and console now Setting more description for your own repository: 6749@SHE127731 /d/git $ echo "A semi-auto MES Yield Limit Batch setting tools used in SPAS 125-001" | ssh gitolite@cvpscmip01 setdesc usr/eri c/YieldLimits-Change Enter passphrase for key '/c/Users/6749/.ssh/id_rsa': New description is: A semi-auto MES Yield Limit Batch setting tools used in SPAS 125-001
  • 30. More document and essay about GIT  GitExtensions User Manual (in your hard drive after install GIT Extension)  Pro GIT (Chinese)  GIT Magic (Chinese)  《Git权威指南》 Things we not mentioned:  GIT command line  Branch, Merge, Rebase, Cherry Pick