SlideShare a Scribd company logo
Git, Jenkins & Chuck

                Starcube
                  Brno
               25.9. 2012

               Juraj Michálek
      http://georgik.sinusgear.com
       http://twitter.com/sinusgear
Content

           Git – Basics

          Git – Advanced

             Jenkins

             Chuck?
Git - Basics



        Initial release: 7. 4. 2005

               Linus Torvalds
Heroku Toolbelt



    All important tools in one package.

       https://toolbelt.heroku.com/
TortoiseGit




      http://code.google.com/p/tortoisegit/
Github




           Social coding
         http://github.com
Codeplex



  Project Hosting for Open Source Software

            http://codeplex.com
PF 2012

     https://pf2012.codeplex.com/

              Git Clone
Git Clone
Command line



 git clone https://git01.codeplex.com/pf2012
Fork



       Fork remote repository
Git - Advanced



            Concepts
Git
      Remote repository



      Local repository



      Stage


      Working area
Git - clone
   Remote repository


                       clone
   Local repository



   Stage


   Working area
Git - add
   Remote repository



   Local repository



   Stage
                       add


   Working area
Git - commit
   Remote repository



   Local repository
                       commit


   Stage


   Working area
Git - push
   Remote repository
                       push


   Local repository



   Stage


   Working area
Git – operations
   Remote repository
                       clone            push


   Local repository
                               commit


   Stage
                       add


   Working area
Configure


     git config --global user.name "Juraj Michalek"

git config --global user.email "juraj.michalek@gmail.com"
Initialize



             git init
Where is git?



                .git
Status?



          git status
Git - add
   Remote repository



   Local repository



   Stage
                       add


   Working area
Add


              git add .
      Everything in working dir.

          git add filename
Status?



          git status
Git - commit
   Remote repository



   Local repository
                       commit


   Stage


   Working area
Commit



     git commit -m „Initial commit“
Commit message


    Short line summary – 50 characters.

  Longer message: blank line and message

        Keep it up to 72 characters.
Commit message



    Ticket ID/Bug system reference

        Good and descriptive
Logs



                git log

       git log branch1..branch2
Branches


             git branch

       git branch newbranch

       git checkout newbranch
Diff



              git diff

       git diff --color-words
Revert single file



         git checkout – filename
Git - push
   Remote repository
                       push


   Local repository



   Stage


   Working area
Connecting to remote


      Cloned repos are connected.


        git remote add origin url

        git push -u origin master
Jenkins




          http://jenkins-ci.org/
Warning


Use path without spaces or special characters!

This is wrong: C:Program Files (x86)Jenkins

              Use: C:Jenkins

More Related Content

PDF
Startup Camp - Git, Python, Django session
PPTX
Gorush: A push notification server written in Go
PDF
Ať se z kódu nepráší! 2013
PDF
Puppet Camp Atlanta 2014: r10k Puppet Workflow
PDF
Docker to the Rescue of an Ops Team
PDF
創科資訊四月小聚 - React Native Clonecat 101
PPTX
Git hooks
PPTX
How to deliver a Python project
Startup Camp - Git, Python, Django session
Gorush: A push notification server written in Go
Ať se z kódu nepráší! 2013
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Docker to the Rescue of an Ops Team
創科資訊四月小聚 - React Native Clonecat 101
Git hooks
How to deliver a Python project

What's hot (20)

PDF
Git hooks
PDF
Git hooks for front end developers
PDF
LicensePlist - A license list generator of all your dependencies for iOS appl...
PDF
Killer R10K Workflow - PuppetConf 2014
PDF
How to ros
PDF
BuildKitでLazy Pullを有効にしてビルドを早くする話
PDF
いつやるの?Git入門
PDF
Golang workshop
PDF
COSCUP - Fleet
PDF
OpenStack for Centos
PDF
PDF
@arzumy Dev Setup #klxrb
PDF
Puppet at GitHub
PDF
A Quick Start - Version Control with Git
ODP
Continuous Delivery of Puppet Manifests
PDF
Starting up Containers Super Fast With Lazy Pulling of Images
PDF
とりあえずはじめるChatOps
PPTX
Installing tensorflow object detection on raspberry pi
PDF
PuppetConf 2014 Killer R10K Workflow With Notes
Git hooks
Git hooks for front end developers
LicensePlist - A license list generator of all your dependencies for iOS appl...
Killer R10K Workflow - PuppetConf 2014
How to ros
BuildKitでLazy Pullを有効にしてビルドを早くする話
いつやるの?Git入門
Golang workshop
COSCUP - Fleet
OpenStack for Centos
@arzumy Dev Setup #klxrb
Puppet at GitHub
A Quick Start - Version Control with Git
Continuous Delivery of Puppet Manifests
Starting up Containers Super Fast With Lazy Pulling of Images
とりあえずはじめるChatOps
Installing tensorflow object detection on raspberry pi
PuppetConf 2014 Killer R10K Workflow With Notes
Ad

Similar to Git, Jenkins & Chuck (20)

PPT
Git Heaven with Wakanda
PPTX
PPTX
this is chpitre 2 of my formation in the kaggle description
PDF
What the Git? - WordCamp Atlanta
PDF
PDF
Git 入门与实践
PDF
Git 101 Workshop
KEY
Git Tech Talk
PDF
Git 入门 与 实践
PDF
Git Version Control System
KEY
Working with Git
PPTX
ODP
GIT from n00b
PDF
빈스톡 첫인상 with Git
PDF
Git Tutorial I
PPTX
Git and github introduction
PPTX
Git training (basic)
PDF
Introduction to Git Version Control System
PPTX
Git basic stanley hsiao 2010_12_15
PDF
Tài liệu sử dụng GitHub
Git Heaven with Wakanda
this is chpitre 2 of my formation in the kaggle description
What the Git? - WordCamp Atlanta
Git 入门与实践
Git 101 Workshop
Git Tech Talk
Git 入门 与 实践
Git Version Control System
Working with Git
GIT from n00b
빈스톡 첫인상 with Git
Git Tutorial I
Git and github introduction
Git training (basic)
Introduction to Git Version Control System
Git basic stanley hsiao 2010_12_15
Tài liệu sử dụng GitHub
Ad

More from Juraj Michálek (20)

PDF
Rust Embedded Development on ESP32 and basics of Async with Embassy
PDF
Embedded Development on ESP32 - FEKT VUT - UREL
PDF
Embedded Rust on ESP2 - Rust Linz
PDF
How Open Source Community and Espressif made it possible to use Rust language...
PDF
C language in our world 2019
PDF
C language in our world 2017
PDF
Continuous Delivery - FIT VUT
PDF
C language in our world 2016
PDF
Story behind PF 2016
PDF
C++ and Software Engineering 2015
PDF
C language in our world 2015
PDF
C++ in our world
PDF
Bigger & Better RnD - GeeCON.cz 2014
PDF
Gradle and build systems for C language
PDF
The story behind PF2014 - Cordova
PDF
There is more to C 2013
PDF
PowerShell UIAtomation
PDF
PowerShell from *nix user perspective
PDF
Libraries and tools for C++
PDF
There is more to C
Rust Embedded Development on ESP32 and basics of Async with Embassy
Embedded Development on ESP32 - FEKT VUT - UREL
Embedded Rust on ESP2 - Rust Linz
How Open Source Community and Espressif made it possible to use Rust language...
C language in our world 2019
C language in our world 2017
Continuous Delivery - FIT VUT
C language in our world 2016
Story behind PF 2016
C++ and Software Engineering 2015
C language in our world 2015
C++ in our world
Bigger & Better RnD - GeeCON.cz 2014
Gradle and build systems for C language
The story behind PF2014 - Cordova
There is more to C 2013
PowerShell UIAtomation
PowerShell from *nix user perspective
Libraries and tools for C++
There is more to C

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Empathic Computing: Creating Shared Understanding
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
KodekX | Application Modernization Development
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Spectroscopy.pptx food analysis technology
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Review of recent advances in non-invasive hemoglobin estimation
Empathic Computing: Creating Shared Understanding
The Rise and Fall of 3GPP – Time for a Sabbatical?
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KodekX | Application Modernization Development
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
20250228 LYD VKU AI Blended-Learning.pptx

Git, Jenkins & Chuck

  • 1. Git, Jenkins & Chuck Starcube Brno 25.9. 2012 Juraj Michálek http://georgik.sinusgear.com http://twitter.com/sinusgear
  • 2. Content Git – Basics Git – Advanced Jenkins Chuck?
  • 3. Git - Basics Initial release: 7. 4. 2005 Linus Torvalds
  • 4. Heroku Toolbelt All important tools in one package. https://toolbelt.heroku.com/
  • 5. TortoiseGit http://code.google.com/p/tortoisegit/
  • 6. Github Social coding http://github.com
  • 7. Codeplex Project Hosting for Open Source Software http://codeplex.com
  • 8. PF 2012 https://pf2012.codeplex.com/ Git Clone
  • 10. Command line git clone https://git01.codeplex.com/pf2012
  • 11. Fork Fork remote repository
  • 12. Git - Advanced Concepts
  • 13. Git Remote repository Local repository Stage Working area
  • 14. Git - clone Remote repository clone Local repository Stage Working area
  • 15. Git - add Remote repository Local repository Stage add Working area
  • 16. Git - commit Remote repository Local repository commit Stage Working area
  • 17. Git - push Remote repository push Local repository Stage Working area
  • 18. Git – operations Remote repository clone push Local repository commit Stage add Working area
  • 19. Configure git config --global user.name "Juraj Michalek" git config --global user.email "juraj.michalek@gmail.com"
  • 20. Initialize git init
  • 22. Status? git status
  • 23. Git - add Remote repository Local repository Stage add Working area
  • 24. Add git add . Everything in working dir. git add filename
  • 25. Status? git status
  • 26. Git - commit Remote repository Local repository commit Stage Working area
  • 27. Commit git commit -m „Initial commit“
  • 28. Commit message Short line summary – 50 characters. Longer message: blank line and message Keep it up to 72 characters.
  • 29. Commit message Ticket ID/Bug system reference Good and descriptive
  • 30. Logs git log git log branch1..branch2
  • 31. Branches git branch git branch newbranch git checkout newbranch
  • 32. Diff git diff git diff --color-words
  • 33. Revert single file git checkout – filename
  • 34. Git - push Remote repository push Local repository Stage Working area
  • 35. Connecting to remote Cloned repos are connected. git remote add origin url git push -u origin master
  • 36. Jenkins http://jenkins-ci.org/
  • 37. Warning Use path without spaces or special characters! This is wrong: C:Program Files (x86)Jenkins Use: C:Jenkins