Git

884 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
884
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Git

    1. 1. GITfast version control system
    2. 2. about me• Jochen Vandendriessche• Aartrijke, België• joggink.com• builtbyrobot.com• @joggink
    3. 3. Who is keeping‘versions’ of their code?
    4. 4. almost everyone
    5. 5. Jedi version control*
    6. 6. file/folder version control
    7. 7. version control software
    8. 8. Distributed vsCentralized
    9. 9. Centralised• CVS• SVN• Vesta
    10. 10. Distributed• Git• Mercurial• bazaar• Bitkeeper*
    11. 11. centralised version control
    12. 12. distributed version control PUSH PULL
    13. 13. What’s a repository?• master / trunk• branches• tags
    14. 14. Why use git?
    15. 15. backup
    16. 16. work everywhere
    17. 17. small20x smaller than SVN
    18. 18. easy merging
    19. 19. easy branching
    20. 20. Advantages of easy branching?
    21. 21. Hooks
    22. 22. client side hooks• pre-commit• prepare commit• commit message• post commit• pre rebase• post checkout• post merge
    23. 23. server side hooks• pre-receive• post-receive• update (like pre-receive but per branch)
    24. 24. pre-commit jslintfor js in $(git diff-index --name-only --cached HEAD -- | grep .js$); do if jslint.sh $js 2>&1 | grep Lint at line ; then echo $js exit 1 else echo "js files validated" exit 0 fidone
    25. 25. server side hooks
    26. 26. image credits• http://images.wikia.com/starwars/images/ 2/2b/Yoda1.jpg• http://www.humbug.in/docs/pro-git-book/ figures/18333fig0102-tn.png
    27. 27. resources• http://en.wikipedia.org/wiki/ List_of_revision_control_software

    ×