SlideShare una empresa de Scribd logo
1 de 13
Descargar para leer sin conexión
Version Controlling with git
Introduction to GIT
Omid khosrojerdi
omidkh68@gmail.com
4/22/2014
Slide 1
• What is VCS
• What is SVN
• What is GIT
• GIT Friends
• GIT vs SVN
• GIT Commands
• Install Git
• FAQ
Subjects
Slide 2
• Version Control System
• All Changes made tracked
• Who made the changes
• Why they made that changes
• Have archive of project
• Reduce problem of Maintenance of project
• For managing large projects with multiple
developers
• , …
What is VCS ?
Slide 3
• A Centralized version control system
• Traditional version control system
• Each person checkout a copy of files
• The repository doesn’t lock for use
• Automatically merge changes in repository
• If a user changes conflict with other users
changes, they have to resolve them manually
• Can create some branches
What is SVN ?
Slide 4
What is SVN ?
Slide 5
• A Distributed version control system
• Git uses best and optimize checksum
• Not have center server , all folders can made to
repository
• Work offline
• Can create some branches
• Fast and optimize for handling large projects
• , …
What is GIT?
Slide 6
What is GIT?
Slide 7
• SVN (cvcs)
• Mercurial (dvcs)
• Bazaar (dvcs)
• Cvs (cvcs)
• Visual source safe (cvcs)
• Bitkeeper (dvcs)
• Darcs (dvcs)
Git Friends (others vcs tools)
Slide 8
• GIT faster than SVN
• Check sum in GIT is more optimize than SVN
• SVN have few crashed and conflict problem
• In SVN, renaming of files causes loss of history
• In SVN, .svn in all folders
• In GIT, .git in root of project directories
• SVN more disk space required
• GIT not made for windows (but have native porting with
msysgit)
• GIT Doesn’t problem of conflict
• ,…
GIT vs. SVN
Slide 9
GIT vs. SVN
Slide 10
GIT Commands (popular)
Slide 11
• Getting repository
• Git init
• Git clone
• Commits
• Git add
• Git commit
• Getting information
• Git help
• Git status
• Git diff
• Git log
Install Git
Slide 12
• Linux :
• Sudo apt-get install git
• Other os :
• http://git-scm.com
FAQ
Slide 13
Need Help ?
Omid khosrojerdi
omidkh68@gmail.com
4/22/2014

Más contenido relacionado

La actualidad más candente

Beginner walkthrough to git and github
Beginner walkthrough to git and githubBeginner walkthrough to git and github
Beginner walkthrough to git and github
Mahmoud Said
 

La actualidad más candente (20)

Segregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debateSegregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debate
 
Introduction to Cloud Native
Introduction to Cloud NativeIntroduction to Cloud Native
Introduction to Cloud Native
 
XWiki Product and Community, OW2con'15, November 17, Paris
XWiki Product and Community, OW2con'15, November 17, ParisXWiki Product and Community, OW2con'15, November 17, Paris
XWiki Product and Community, OW2con'15, November 17, Paris
 
stackconf 2021 | GitOps: yea or nay?
stackconf 2021 | GitOps: yea or nay?stackconf 2021 | GitOps: yea or nay?
stackconf 2021 | GitOps: yea or nay?
 
Gitlab Flash Talk
Gitlab Flash TalkGitlab Flash Talk
Gitlab Flash Talk
 
Cost Control and Rapid Innovation in Kubernetes with OpenRewrite
Cost Control and Rapid Innovation in Kubernetes with OpenRewriteCost Control and Rapid Innovation in Kubernetes with OpenRewrite
Cost Control and Rapid Innovation in Kubernetes with OpenRewrite
 
Deploy with confidence
Deploy with confidenceDeploy with confidence
Deploy with confidence
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, TrivandrumIntroduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
 
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdf
 
Beginner walkthrough to git and github
Beginner walkthrough to git and githubBeginner walkthrough to git and github
Beginner walkthrough to git and github
 
Intro JBug Milano - January 2012
Intro JBug Milano - January 2012Intro JBug Milano - January 2012
Intro JBug Milano - January 2012
 
A Brief History of Git
A Brief History of GitA Brief History of Git
A Brief History of Git
 
Qt Creator, l'arma segreta!
Qt Creator, l'arma segreta!Qt Creator, l'arma segreta!
Qt Creator, l'arma segreta!
 
DockerCon 2016 Recap
DockerCon 2016 RecapDockerCon 2016 Recap
DockerCon 2016 Recap
 
From CVS to GIT
From CVS to GITFrom CVS to GIT
From CVS to GIT
 
QGIS LTR is making the world a better place by Saber Razmjooei
QGIS LTR is making the world a better place by Saber RazmjooeiQGIS LTR is making the world a better place by Saber Razmjooei
QGIS LTR is making the world a better place by Saber Razmjooei
 
Knowit study group örnsköldsvik - introduction to qt & qt creator
Knowit   study group örnsköldsvik - introduction to qt & qt creatorKnowit   study group örnsköldsvik - introduction to qt & qt creator
Knowit study group örnsköldsvik - introduction to qt & qt creator
 
An introduction to git
An introduction to gitAn introduction to git
An introduction to git
 
FossBazaar TiddlyGuv Demo
FossBazaar TiddlyGuv DemoFossBazaar TiddlyGuv Demo
FossBazaar TiddlyGuv Demo
 

Similar a simple Introduction to git

Introduction to git and stash
Introduction to git and stashIntroduction to git and stash
Introduction to git and stash
Xpand IT
 

Similar a simple Introduction to git (20)

Mastering git
Mastering gitMastering git
Mastering git
 
Git workshop
Git workshopGit workshop
Git workshop
 
Introduction to git and stash
Introduction to git and stashIntroduction to git and stash
Introduction to git and stash
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
1 git-overview
1 git-overview1 git-overview
1 git-overview
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
Git in the Enterprise: How to succeed at DevOps using Git and a monorepoGit in the Enterprise: How to succeed at DevOps using Git and a monorepo
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
 
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
 
Git: a tool for wizards
Git: a tool for wizardsGit: a tool for wizards
Git: a tool for wizards
 
Git theory
Git   theoryGit   theory
Git theory
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Git SVN Migrate Reasons
Git SVN Migrate ReasonsGit SVN Migrate Reasons
Git SVN Migrate Reasons
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
Git
GitGit
Git
 
Git for uninitiated
Git for uninitiatedGit for uninitiated
Git for uninitiated
 
Git preso to valtech cfml team
Git preso to valtech cfml teamGit preso to valtech cfml team
Git preso to valtech cfml team
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
O365Con18 - Git and GitHub - Rick van Rousselt
O365Con18 - Git and GitHub - Rick van RousseltO365Con18 - Git and GitHub - Rick van Rousselt
O365Con18 - Git and GitHub - Rick van Rousselt
 
Demo
DemoDemo
Demo
 
Git extension-training
Git extension-trainingGit extension-training
Git extension-training
 

Último

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Último (20)

VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 

simple Introduction to git

  • 1. Version Controlling with git Introduction to GIT Omid khosrojerdi omidkh68@gmail.com 4/22/2014 Slide 1
  • 2. • What is VCS • What is SVN • What is GIT • GIT Friends • GIT vs SVN • GIT Commands • Install Git • FAQ Subjects Slide 2
  • 3. • Version Control System • All Changes made tracked • Who made the changes • Why they made that changes • Have archive of project • Reduce problem of Maintenance of project • For managing large projects with multiple developers • , … What is VCS ? Slide 3
  • 4. • A Centralized version control system • Traditional version control system • Each person checkout a copy of files • The repository doesn’t lock for use • Automatically merge changes in repository • If a user changes conflict with other users changes, they have to resolve them manually • Can create some branches What is SVN ? Slide 4
  • 5. What is SVN ? Slide 5
  • 6. • A Distributed version control system • Git uses best and optimize checksum • Not have center server , all folders can made to repository • Work offline • Can create some branches • Fast and optimize for handling large projects • , … What is GIT? Slide 6
  • 8. • SVN (cvcs) • Mercurial (dvcs) • Bazaar (dvcs) • Cvs (cvcs) • Visual source safe (cvcs) • Bitkeeper (dvcs) • Darcs (dvcs) Git Friends (others vcs tools) Slide 8
  • 9. • GIT faster than SVN • Check sum in GIT is more optimize than SVN • SVN have few crashed and conflict problem • In SVN, renaming of files causes loss of history • In SVN, .svn in all folders • In GIT, .git in root of project directories • SVN more disk space required • GIT not made for windows (but have native porting with msysgit) • GIT Doesn’t problem of conflict • ,… GIT vs. SVN Slide 9
  • 11. GIT Commands (popular) Slide 11 • Getting repository • Git init • Git clone • Commits • Git add • Git commit • Getting information • Git help • Git status • Git diff • Git log
  • 12. Install Git Slide 12 • Linux : • Sudo apt-get install git • Other os : • http://git-scm.com
  • 13. FAQ Slide 13 Need Help ? Omid khosrojerdi omidkh68@gmail.com 4/22/2014