SlideShare una empresa de Scribd logo
1 de 12
Git
A overview for beginners
Origin
(Where our source(in ourcomes GitHub) our case: GitHub)
                  code case: from. In
Origin
           (Where our source(in ourcomes GitHub) our case: GitHub)
                             code case: from. In




Internet

      Local development machine
Origin
           (Where our source(in ourcomes GitHub) our case: GitHub)
                             code case: from. In




                       clone
                       (ex: git clone git@github.com:antonpirker/django-kickstarter.git)




Internet
      Local development machine
                     (after a 'clone' you have the complete
           source repository with all revisions on your local computer)
Origin
       (ex:   git@github.com:antonpirker/django-kickstarter.git)
                       (in our case: GitHub)




Internet            Local Repository
                    Staging Area (Index)
                    Working Area (Local directory)
Origin
       (ex:   git@github.com:antonpirker/django-kickstarter.git)
                       (in our case: GitHub)




           “pull”

Internet            Local Repository
                    Staging Area (Index)
                    Working Area (Local directory)
Origin
       (ex:     git@github.com:antonpirker/django-kickstarter.git)
                         (in our case: GitHub)




           “pull”

Internet              Local Repository
                      Staging Area (Index)
              modify
                   Working Area (Local directory)
Origin
       (ex:     git@github.com:antonpirker/django-kickstarter.git)
                         (in our case: GitHub)




           “pull”

Internet              Local Repository
                      Staging Area (Index)
              modify “add” Area (Local directory)
                   Working
Origin
       (ex:     git@github.com:antonpirker/django-kickstarter.git)
                         (in our case: GitHub)




           “pull”

Internet              Local Repository
                      Staging Area (Index)
                   Working “commit”
              modify “add” Area (Local directory)
Origin
       (ex:    git@github.com:antonpirker/django-kickstarter.git)
                        (in our case: GitHub)




           “pull”

Internet             Local Repository
                     Staging Area (Index)
              modify “add” Area (Local modify “commit”
                   Working “commit” directory)
Origin
       (ex:    git@github.com:antonpirker/django-kickstarter.git)
                        (in our case: GitHub)




           “pull”                                                   “push”

Internet             Local Repository
                     Staging Area (Index)
              modify “add” Area (Local modify “commit”
                   Working “commit” directory)
Thank's!
Anton Pirker
@antonpirker
http://ignaz.at

Más contenido relacionado

La actualidad más candente

Intro to Git DevOps Tally Presentation 101615
Intro to Git DevOps Tally Presentation 101615Intro to Git DevOps Tally Presentation 101615
Intro to Git DevOps Tally Presentation 101615
Brian K. Vagnini
 

La actualidad más candente (20)

Puppet at GitHub
Puppet at GitHubPuppet at GitHub
Puppet at GitHub
 
GIT | Distributed Version Control System
GIT | Distributed Version Control SystemGIT | Distributed Version Control System
GIT | Distributed Version Control System
 
Git: An introduction of plumbing and porcelain commands
Git: An introduction of plumbing and porcelain commandsGit: An introduction of plumbing and porcelain commands
Git: An introduction of plumbing and porcelain commands
 
Git Tech Talk
Git  Tech TalkGit  Tech Talk
Git Tech Talk
 
Git
GitGit
Git
 
CouchDB Day NYC 2017: Replication
CouchDB Day NYC 2017: ReplicationCouchDB Day NYC 2017: Replication
CouchDB Day NYC 2017: Replication
 
Git cli
Git cliGit cli
Git cli
 
Virthualenvwrapper
VirthualenvwrapperVirthualenvwrapper
Virthualenvwrapper
 
Version control
Version controlVersion control
Version control
 
GiTFO
GiTFOGiTFO
GiTFO
 
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
 
Don’t be Homer Simpson 
with your Reactor!
 Don’t be Homer Simpson 
with your Reactor! Don’t be Homer Simpson 
with your Reactor!
Don’t be Homer Simpson 
with your Reactor!
 
Tupperware
TupperwareTupperware
Tupperware
 
Git vs svn
Git vs svnGit vs svn
Git vs svn
 
Ansible lightning talk at Scale 12
Ansible lightning talk at Scale 12Ansible lightning talk at Scale 12
Ansible lightning talk at Scale 12
 
Git walkthrough
Git walkthroughGit walkthrough
Git walkthrough
 
Git training
Git trainingGit training
Git training
 
Puppet without Root - PuppetConf 2013
Puppet without Root - PuppetConf 2013Puppet without Root - PuppetConf 2013
Puppet without Root - PuppetConf 2013
 
Intro to Git DevOps Tally Presentation 101615
Intro to Git DevOps Tally Presentation 101615Intro to Git DevOps Tally Presentation 101615
Intro to Git DevOps Tally Presentation 101615
 
Basic git
Basic gitBasic git
Basic git
 

Destacado

Destacado (7)

Html templating introduction
Html templating introductionHtml templating introduction
Html templating introduction
 
The best ways to drive your Startup into the ground
The best ways to drive your Startup into the groundThe best ways to drive your Startup into the ground
The best ways to drive your Startup into the ground
 
Django user permissions in your templates
Django  user permissions  in your templatesDjango  user permissions  in your templates
Django user permissions in your templates
 
Organize your Django templates
Organize your Django templatesOrganize your Django templates
Organize your Django templates
 
Django and Nginx reverse proxy cache
Django and Nginx reverse proxy cacheDjango and Nginx reverse proxy cache
Django and Nginx reverse proxy cache
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Similar a Git - a overview for beginners

Gitting It Under (Version) Control
Gitting It Under (Version) ControlGitting It Under (Version) Control
Gitting It Under (Version) Control
mobiledevnj
 

Similar a Git - a overview for beginners (20)

Startup Camp - Git, Python, Django session
Startup Camp - Git, Python, Django sessionStartup Camp - Git, Python, Django session
Startup Camp - Git, Python, Django session
 
Mr.Crabs Git workflow
Mr.Crabs Git workflowMr.Crabs Git workflow
Mr.Crabs Git workflow
 
A Quick Start - Version Control with Git
A Quick Start - Version Control with GitA Quick Start - Version Control with Git
A Quick Start - Version Control with Git
 
빈스톡 첫인상 with Git
빈스톡 첫인상 with Git빈스톡 첫인상 with Git
빈스톡 첫인상 with Git
 
Git, Jenkins & Chuck
Git, Jenkins & ChuckGit, Jenkins & Chuck
Git, Jenkins & Chuck
 
簡單介紹git
簡單介紹git簡單介紹git
簡單介紹git
 
Working with Git
Working with GitWorking with Git
Working with Git
 
Git the Docs: A fun, hands-on introduction to version control
Git the Docs: A fun, hands-on introduction to version controlGit the Docs: A fun, hands-on introduction to version control
Git the Docs: A fun, hands-on introduction to version control
 
Distributed Developer Workflows using Git
Distributed Developer Workflows using GitDistributed Developer Workflows using Git
Distributed Developer Workflows using Git
 
git & GitHub workshop
git & GitHub workshopgit & GitHub workshop
git & GitHub workshop
 
Gitting It Under (Version) Control
Gitting It Under (Version) ControlGitting It Under (Version) Control
Gitting It Under (Version) Control
 
Make an Instant Website with Webhooks
Make an Instant Website with WebhooksMake an Instant Website with Webhooks
Make an Instant Website with Webhooks
 
Introduction to Version Control with GIT
Introduction to Version Control with GITIntroduction to Version Control with GIT
Introduction to Version Control with GIT
 
Git basic
Git basicGit basic
Git basic
 
Introduction to Git Version Control System
Introduction to Git Version Control SystemIntroduction to Git Version Control System
Introduction to Git Version Control System
 
Understanding about git
Understanding about gitUnderstanding about git
Understanding about git
 
Gitlab and Lingvokot
Gitlab and LingvokotGitlab and Lingvokot
Gitlab and Lingvokot
 
Git Heaven with Wakanda
Git Heaven with WakandaGit Heaven with Wakanda
Git Heaven with Wakanda
 
DevOps Fest 2020. Alexey Golub. GitHub Actions in action
DevOps Fest 2020. Alexey Golub. GitHub Actions in actionDevOps Fest 2020. Alexey Golub. GitHub Actions in action
DevOps Fest 2020. Alexey Golub. GitHub Actions in action
 
Git training (basic)
Git training (basic)Git training (basic)
Git training (basic)
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Git - a overview for beginners

  • 1. Git A overview for beginners
  • 2. Origin (Where our source(in ourcomes GitHub) our case: GitHub) code case: from. In
  • 3. Origin (Where our source(in ourcomes GitHub) our case: GitHub) code case: from. In Internet Local development machine
  • 4. Origin (Where our source(in ourcomes GitHub) our case: GitHub) code case: from. In clone (ex: git clone git@github.com:antonpirker/django-kickstarter.git) Internet Local development machine (after a 'clone' you have the complete source repository with all revisions on your local computer)
  • 5. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) Internet Local Repository Staging Area (Index) Working Area (Local directory)
  • 6. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) “pull” Internet Local Repository Staging Area (Index) Working Area (Local directory)
  • 7. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) “pull” Internet Local Repository Staging Area (Index) modify Working Area (Local directory)
  • 8. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) “pull” Internet Local Repository Staging Area (Index) modify “add” Area (Local directory) Working
  • 9. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) “pull” Internet Local Repository Staging Area (Index) Working “commit” modify “add” Area (Local directory)
  • 10. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) “pull” Internet Local Repository Staging Area (Index) modify “add” Area (Local modify “commit” Working “commit” directory)
  • 11. Origin (ex: git@github.com:antonpirker/django-kickstarter.git) (in our case: GitHub) “pull” “push” Internet Local Repository Staging Area (Index) modify “add” Area (Local modify “commit” Working “commit” directory)