SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Git Harder  Better Faster  Stronger
Git General assumptions Who will get the most out of this presentation: *   You are comfortable using command-line utilities. *   You know what version control is. *  p ractical examples. *   Beer (if you're actually in this room)
Git   *  What is it *  Why use git *  G(CL)IT *  G(U)IT *  DIY *  Dog
Git   What?
What *  Linus Torvalds *  Global Information Tracker *  Revision control system *  Distributed development
Git Slang: stupid or unpleasant person "I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git.” Linus Torvalds
Git   Why ?
Why *  Blazingly fast – local * *  Small space (30x) *  Easy workflow *  Drupal.org switched to it *  Easy to learn – cf slide 11 * Although cloning can take a while
Git   G(CL)IT
CLI Let's go command line .. Wait a minute .. you just said easy to learn ?!
*  git init : start a new git project *  git remote : configure remote origin  *  git config : configure *  git clone : checkout from origin *  git checkout : checkout local *  git branch (-a -d) : list/create/delete *  git add : add files to repository *  git tag : create a tag *  git status : see status of working copy *  git commit : commit changes *  git push : push changes *  git diff : see diff *  git apply : apply a patch *  git reset : reset HEAD *  git stash : fast revert to HEAD
CLI *  Full list of commands: http://www.kernel.org/pub/software/scm/git/docs/user-manual.html http://git-scm.com/documentation http://drupal.org/project/name/git-instructions
CLI Checkout *  git clone *  git branch -a *  git checkout branch *  git pull *  git fetch
CLI Working *  git config *  git status *  git commit (-a) *  git push (origin branch) *  git reset --hard *  git stash (pop)
.gitignore *  .gitignore *  git config --global core.excludesfile ~/.gitignore (private) *  git config core.excludesfile .mygitignore (in any git repo)
.gitignore *  *.blah *  *.html *  !foo.html
CLI Publishing and patching *  git diff ( > file.patch) *  git apply file.patch *  git tag (and push)
CLI Cheatsheat http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html
Git   G(U)IT
Gui *  http://www.eclipse.org/jgit/ *   http://www.eclipse.org/egit/   (Still in 'incubation' phase) *  http://gitx.frim.nl/ *  http://code.google.com/p/msysgit/
Git   DIY
DIY *  git init *  git –-bare init *  git remote add origin
DIY With a little help of friends *   http://drupal.org  - Sandboxes! *  http://github.com
Dog Woof Woof Submodules *   http://drupal.org /project/dog
Git   Questions

Weitere ähnliche Inhalte

Was ist angesagt?

Git tech talk
Git tech talkGit tech talk
Git tech talk
razasayed
 
Pragmatic Guide to Git
Pragmatic Guide to GitPragmatic Guide to Git
Pragmatic Guide to Git
ConFoo
 

Was ist angesagt? (20)

Git in Eclipse
Git in EclipseGit in Eclipse
Git in Eclipse
 
Git training with Devaamo
Git training with DevaamoGit training with Devaamo
Git training with Devaamo
 
Open source
Open sourceOpen source
Open source
 
Helios in Action: Git at Eclipse
Helios in Action: Git at EclipseHelios in Action: Git at Eclipse
Helios in Action: Git at Eclipse
 
Git back on_your_feet
Git back on_your_feetGit back on_your_feet
Git back on_your_feet
 
MongoDB World 2019 Builder's Fest - Ready, Git set ... Go!
MongoDB World 2019 Builder's Fest - Ready, Git set ... Go!MongoDB World 2019 Builder's Fest - Ready, Git set ... Go!
MongoDB World 2019 Builder's Fest - Ready, Git set ... Go!
 
New Views on your History with git replace
New Views on your History with git replaceNew Views on your History with git replace
New Views on your History with git replace
 
Git tech talk
Git tech talkGit tech talk
Git tech talk
 
Pragmatic Guide to Git
Pragmatic Guide to GitPragmatic Guide to Git
Pragmatic Guide to Git
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Beginner's guide to git
Beginner's guide to gitBeginner's guide to git
Beginner's guide to git
 
Enjoy fighting regressions_with_git_bisect
Enjoy fighting regressions_with_git_bisectEnjoy fighting regressions_with_git_bisect
Enjoy fighting regressions_with_git_bisect
 
Workshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughsWorkshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughs
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
 
Magie di git
Magie di gitMagie di git
Magie di git
 
Git and Testing
Git and TestingGit and Testing
Git and Testing
 
Now i git it!!!
Now i git it!!!Now i git it!!!
Now i git it!!!
 
Git intro hands on windows with msysgit
Git intro hands on windows with msysgitGit intro hands on windows with msysgit
Git intro hands on windows with msysgit
 
Introduction to GIT
Introduction to GITIntroduction to GIT
Introduction to GIT
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioning
 

Andere mochten auch (7)

Presentazione cdc inglese
Presentazione cdc inglesePresentazione cdc inglese
Presentazione cdc inglese
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev Machine
 
DMF10 Krimson : Drupal In Belgium
DMF10 Krimson : Drupal In BelgiumDMF10 Krimson : Drupal In Belgium
DMF10 Krimson : Drupal In Belgium
 
10 anni di attività
10 anni di attività10 anni di attività
10 anni di attività
 
Chinese ceramics
Chinese ceramicsChinese ceramics
Chinese ceramics
 
OpenData belgium
OpenData belgiumOpenData belgium
OpenData belgium
 
Dmf09 Krimson Drupal At Nebus Loyalty
Dmf09 Krimson Drupal At Nebus LoyaltyDmf09 Krimson Drupal At Nebus Loyalty
Dmf09 Krimson Drupal At Nebus Loyalty
 

Ähnlich wie GIT - DUG Antwerp

Git 入门与实践
Git 入门与实践Git 入门与实践
Git 入门与实践
Terry Wang
 
Git 入门 与 实践
Git 入门 与 实践Git 入门 与 实践
Git 入门 与 实践
Terry Wang
 

Ähnlich wie GIT - DUG Antwerp (20)

Git kelvin
Git   kelvinGit   kelvin
Git kelvin
 
Git: Why And How to
Git: Why And How toGit: Why And How to
Git: Why And How to
 
Advanted git
Advanted git Advanted git
Advanted git
 
Git and Github workshop
Git and Github workshopGit and Github workshop
Git and Github workshop
 
Basic Git Tutorial
Basic Git TutorialBasic Git Tutorial
Basic Git Tutorial
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?
 
GIT
GITGIT
GIT
 
Hello git - a soft introduction to git (Talk Slides)
Hello git - a soft introduction to git (Talk Slides) Hello git - a soft introduction to git (Talk Slides)
Hello git - a soft introduction to git (Talk Slides)
 
Git introduction
Git introductionGit introduction
Git introduction
 
Git 入门与实践
Git 入门与实践Git 入门与实践
Git 入门与实践
 
Git
GitGit
Git
 
Git 101 Workshop
Git 101 WorkshopGit 101 Workshop
Git 101 Workshop
 
Git 入门 与 实践
Git 入门 与 实践Git 入门 与 实践
Git 入门 与 实践
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with git
 
Git: Git'ing the Basic
Git: Git'ing the BasicGit: Git'ing the Basic
Git: Git'ing the Basic
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
 
Git & G
Git & GGit & G
Git & G
 
GIT in a nutshell
GIT in a nutshellGIT in a nutshell
GIT in a nutshell
 
Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
 
Git & GitHub
Git & GitHubGit & GitHub
Git & GitHub
 

Kürzlich hochgeladen

+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@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
+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...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
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?
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
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...
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

GIT - DUG Antwerp

  • 1. Git Harder Better Faster Stronger
  • 2. Git General assumptions Who will get the most out of this presentation: * You are comfortable using command-line utilities. * You know what version control is. * p ractical examples. * Beer (if you're actually in this room)
  • 3. Git * What is it * Why use git * G(CL)IT * G(U)IT * DIY * Dog
  • 4. Git What?
  • 5. What * Linus Torvalds * Global Information Tracker * Revision control system * Distributed development
  • 6. Git Slang: stupid or unpleasant person "I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git.” Linus Torvalds
  • 7. Git Why ?
  • 8. Why * Blazingly fast – local * * Small space (30x) * Easy workflow * Drupal.org switched to it * Easy to learn – cf slide 11 * Although cloning can take a while
  • 9. Git G(CL)IT
  • 10. CLI Let's go command line .. Wait a minute .. you just said easy to learn ?!
  • 11. * git init : start a new git project * git remote : configure remote origin * git config : configure * git clone : checkout from origin * git checkout : checkout local * git branch (-a -d) : list/create/delete * git add : add files to repository * git tag : create a tag * git status : see status of working copy * git commit : commit changes * git push : push changes * git diff : see diff * git apply : apply a patch * git reset : reset HEAD * git stash : fast revert to HEAD
  • 12. CLI * Full list of commands: http://www.kernel.org/pub/software/scm/git/docs/user-manual.html http://git-scm.com/documentation http://drupal.org/project/name/git-instructions
  • 13. CLI Checkout * git clone * git branch -a * git checkout branch * git pull * git fetch
  • 14. CLI Working * git config * git status * git commit (-a) * git push (origin branch) * git reset --hard * git stash (pop)
  • 15. .gitignore * .gitignore * git config --global core.excludesfile ~/.gitignore (private) * git config core.excludesfile .mygitignore (in any git repo)
  • 16. .gitignore * *.blah * *.html * !foo.html
  • 17. CLI Publishing and patching * git diff ( > file.patch) * git apply file.patch * git tag (and push)
  • 19. Git G(U)IT
  • 20. Gui * http://www.eclipse.org/jgit/ * http://www.eclipse.org/egit/ (Still in 'incubation' phase) * http://gitx.frim.nl/ * http://code.google.com/p/msysgit/
  • 21. Git DIY
  • 22. DIY * git init * git –-bare init * git remote add origin
  • 23. DIY With a little help of friends * http://drupal.org - Sandboxes! * http://github.com
  • 24. Dog Woof Woof Submodules * http://drupal.org /project/dog
  • 25. Git Questions