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
Juraj Michálek
 
PPTX
Gorush: A push notification server written in Go
Bo-Yi Wu
 
PDF
Ať se z kódu nepráší! 2013
Juraj Michálek
 
PDF
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet
 
PDF
Docker to the Rescue of an Ops Team
Rachid Zarouali
 
PDF
創科資訊四月小聚 - React Native Clonecat 101
Kent Chen
 
PPTX
Git hooks
BinBin He
 
PPTX
How to deliver a Python project
mattjdavidson
 
Startup Camp - Git, Python, Django session
Juraj Michálek
 
Gorush: A push notification server written in Go
Bo-Yi Wu
 
Ať se z kódu nepráší! 2013
Juraj Michálek
 
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet
 
Docker to the Rescue of an Ops Team
Rachid Zarouali
 
創科資訊四月小聚 - React Native Clonecat 101
Kent Chen
 
Git hooks
BinBin He
 
How to deliver a Python project
mattjdavidson
 

What's hot (20)

PDF
Git hooks
Skills Matter
 
PDF
Git hooks for front end developers
Bradley Gore
 
PDF
LicensePlist - A license list generator of all your dependencies for iOS appl...
将之 小野
 
PDF
Killer R10K Workflow - PuppetConf 2014
Puppet
 
PDF
How to ros
Jihoon Lee
 
PDF
BuildKitでLazy Pullを有効にしてビルドを早くする話
Kohei Tokunaga
 
PDF
いつやるの?Git入門
Masakazu Matsushita
 
PDF
Golang workshop
Victor S. Recio
 
PDF
COSCUP - Fleet
Philip Zheng
 
PDF
OpenStack for Centos
Chandan Kumar
 
PDF
Git 101
Dimitris Tsironis
 
PDF
@arzumy Dev Setup #klxrb
Arzumy MD
 
PDF
Puppet at GitHub
Puppet
 
PDF
A Quick Start - Version Control with Git
Dmitry Sheiko
 
ODP
Continuous Delivery of Puppet Manifests
Kris Buytaert
 
PDF
Starting up Containers Super Fast With Lazy Pulling of Images
Kohei Tokunaga
 
PDF
とりあえずはじめるChatOps
正貴 小川
 
PPTX
Installing tensorflow object detection on raspberry pi
Seong-Hun Choe
 
PDF
PuppetConf 2014 Killer R10K Workflow With Notes
Phil Zimmerman
 
Git hooks
Skills Matter
 
Git hooks for front end developers
Bradley Gore
 
LicensePlist - A license list generator of all your dependencies for iOS appl...
将之 小野
 
Killer R10K Workflow - PuppetConf 2014
Puppet
 
How to ros
Jihoon Lee
 
BuildKitでLazy Pullを有効にしてビルドを早くする話
Kohei Tokunaga
 
いつやるの?Git入門
Masakazu Matsushita
 
Golang workshop
Victor S. Recio
 
COSCUP - Fleet
Philip Zheng
 
OpenStack for Centos
Chandan Kumar
 
@arzumy Dev Setup #klxrb
Arzumy MD
 
Puppet at GitHub
Puppet
 
A Quick Start - Version Control with Git
Dmitry Sheiko
 
Continuous Delivery of Puppet Manifests
Kris Buytaert
 
Starting up Containers Super Fast With Lazy Pulling of Images
Kohei Tokunaga
 
とりあえずはじめるChatOps
正貴 小川
 
Installing tensorflow object detection on raspberry pi
Seong-Hun Choe
 
PuppetConf 2014 Killer R10K Workflow With Notes
Phil Zimmerman
 
Ad

Similar to Git, Jenkins & Chuck (20)

KEY
Git Magic: Versioning Files like a Boss
tmacwilliam
 
PDF
Git in 5 Minutes
Robert Dumas
 
PDF
Git 入门 与 实践
Terry Wang
 
PDF
Git 入门与实践
Terry Wang
 
PDF
Git
Terry Wang
 
PPTX
Git 101 for_tarad_dev
Somkiat Puisungnoen
 
PDF
Git Tutorial I
Jim Yeh
 
PPTX
Git and GitHub
Priya Nayak
 
PPT
CSE 390 Lecture 9 - Version Control with GIT
PouriaQashqai1
 
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
PDF
Git and Github
Wen-Tien Chang
 
PPTX
github ppt git ppt on git hub to know ab
infoinnext
 
PDF
Git cheat-sheets
ozone777
 
PDF
Git tutorial
Elli Kanal
 
PDF
Git, GitHub and Open Source
Lorna Mitchell
 
PPTX
Git basic stanley hsiao 2010_12_15
Chen-Han Hsiao
 
PPTX
Git General
Zhongke Chen
 
PPT
Git training
adm_exoplatform
 
PDF
Git for the Android Developer
Effective
 
Git Magic: Versioning Files like a Boss
tmacwilliam
 
Git in 5 Minutes
Robert Dumas
 
Git 入门 与 实践
Terry Wang
 
Git 入门与实践
Terry Wang
 
Git 101 for_tarad_dev
Somkiat Puisungnoen
 
Git Tutorial I
Jim Yeh
 
Git and GitHub
Priya Nayak
 
CSE 390 Lecture 9 - Version Control with GIT
PouriaQashqai1
 
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
Git and Github
Wen-Tien Chang
 
github ppt git ppt on git hub to know ab
infoinnext
 
Git cheat-sheets
ozone777
 
Git tutorial
Elli Kanal
 
Git, GitHub and Open Source
Lorna Mitchell
 
Git basic stanley hsiao 2010_12_15
Chen-Han Hsiao
 
Git General
Zhongke Chen
 
Git training
adm_exoplatform
 
Git for the Android Developer
Effective
 
Ad

More from Juraj Michálek (20)

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

Recently uploaded (20)

PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Software Development Methodologies in 2025
KodekX
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 

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 "[email protected]"
  • 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