Distributed Source Control with Git

955 views

Published on

Introduction to git as given at North Dallas .NET User Group May 5, 2010

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
955
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 3 "moving parts" Working dir - standard Repository - local copy of sources Index - staging area for changes
  • Distributed Source Control with Git

    1. 1. Distributed Source Control with Git <ul><li>David O’Hara </li></ul><ul><li>@davidmohara </li></ul>
    2. 2. WHO AM I??
    3. 3. SVN 2.0
    4. 4. <ul><li>Distributed </li></ul><ul><li>Version </li></ul><ul><li>Control </li></ul><ul><li>System </li></ul>
    5. 5. Server Client Client Client
    6. 6. Client Client Client Client
    7. 7. <ul><li>>> git config --global user.name “[NAME HERE]” </li></ul><ul><li>>> git config --global user.email “[EMAIL HERE]” </li></ul>Identify Yourself
    8. 8. Make Life Easier <ul><li>Aliases </li></ul><ul><ul><li>http://github.com/davidmohara/configs </li></ul></ul><ul><li>Colorize </li></ul><ul><ul><li>(Doesn’t work in command - only bash) </li></ul></ul><ul><li>AutoCRLF </li></ul>
    9. 9. Index Repository Working Directory
    10. 10. Index Repository Working Directory Init
    11. 11. Index Repository Working Directory Clone Remote
    12. 12. Index Repository Working Directory Add <ul><li>Untracked </li></ul><ul><li>Updated </li></ul>
    13. 13. Index Repository Working Directory Commit
    14. 14. Index Repository Working Directory Push Remote
    15. 15. Fetch Index Repository Working Directory Pull Remote Rebase
    16. 16. Clone (svn) Index Repository Working Directory Subversion
    17. 17. Fetch (svn) Index Repository Working Directory Subversion Rebase (svn)
    18. 18. Index Repository Working Directory DCommit Subversion
    19. 19. SHOW ME SOMETHING
    20. 20. f28r5 b0934 e48u4 a9473 master feature f901e
    21. 21. b0934 e48u4 a9473 e9836 master feature f901e
    22. 22. b0934 e48u4 a9473 e9836 master feature f901e 038de 8372e 038de
    23. 23. b0934 e48u4 a9473 e9836 master feature f901e 038de feature
    24. 24. SHOW ME MORE
    25. 25. Questions
    26. 26. GUI Crutches <ul><li>gitk & git gui </li></ul><ul><li>http://gitextensions.sourceforge.net </li></ul><ul><li>http://code.google.com/p/tortoisegit </li></ul>
    27. 27. Resources <ul><li>http://tinyurl.com/getgit </li></ul><ul><li>http://progit.org </li></ul><ul><li>http://github.com </li></ul><ul><li>[email_address] </li></ul>

    ×