An Introduction to Git <ul><ul><li>Anil Wadghule </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul>
S cope of Talk <ul><li>What this talk is and what it isn’t </li></ul><ul><li>Me, myself </li></ul><ul><li>What is? </li></...
P urpose <ul><li>What this talk is?   </li></ul><ul><li>Get you interested </li></ul><ul><li>Get you started with Git </li...
W ho am I? <ul><li>(or why should you listen to me)‏ </li></ul><ul><li>24/male/single :)‏ </li></ul><ul><li>Technology con...
H istory (Git’s, not mine)‏ <ul><li>Originally written by Linus Torwalds </li></ul><ul><li>Currently maintained by Junio H...
W hat the heck is Git? <ul><li>Distributed Source Control Management tool </li></ul><ul><li>Very Powerful </li></ul><ul><l...
A bout Git / General features <ul><li>Strong support for non-linear development </li></ul><ul><li>Distributed development ...
W here can you use Git? <ul><li>For personal projects (Single person, eg. many Rails projects)  </li></ul><ul><li>For very...
G it Installation <ul><li>Using source (linux/macs/similar)‏ </li></ul><ul><li>Using packages e.g. </li></ul><ul><li>port ...
G it Demo <ul><li>Quick walk through Setting up Git for a Rails app, basic usage, commit, diff, merge, checkout, branches ...
W hy Git? <ul><li>Distributed development </li></ul>
W hy Git? <ul><li>SVN/CVS Centralized development </li></ul>
W hy Git? <ul><li>Efficient convenient Branching and Merging </li></ul><ul><li>Network not necessary | offline </li></ul><...
W hy Git? <ul><li>Clean  </li></ul>
W hy Git? <ul><li>Branching and merging </li></ul>
W hy Git? <ul><li>Git works with Content not files </li></ul>
W hy Git? <ul><li>Content, tracks change of content </li></ul>Use git commit -a to fake file behaviour
E veryday Git <ul><li>fsck, count-objects, gc </li></ul><ul><li>log, show branch, checkout </li></ul><ul><li>add, diff, st...
R epositories <ul><li>Setup repositories easily </li></ul><ul><li>clone, fetch, pull, push </li></ul><ul><li>Multiple trac...
M any other tools <ul><li>Web interface </li></ul><ul><li>Blame files, who edited </li></ul><ul><li>Archive the files </li...
S ubversion <ul><li>git-svn clone svn://repo </li></ul><ul><li>Do normal git things on it </li></ul><ul><li>git-svn dcommi...
N ow what? <ul><li>What you can do now? </li></ul><ul><li>Start using Git </li></ul><ul><li>Forget SVN/CVS </li></ul><ul><...
R esources <ul><li>Git Home Page </li></ul><ul><li>  git.or.cz </li></ul><ul><li>Wikipedia entry on git </li></ul><ul><li>...
<ul><li>Git is Future! </li></ul>
<ul><li>Thank you! </li></ul><ul><li>Questions? </li></ul>
Upcoming SlideShare
Loading in …5
×

Git Introduction

13,701
-1

Published on

Git Introduction: to get you started.

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

No Downloads
Views
Total Views
13,701
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
465
Comments
0
Likes
12
Embeds 0
No embeds

No notes for slide

Git Introduction

  1. 1. An Introduction to Git <ul><ul><li>Anil Wadghule </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul>
  2. 2. S cope of Talk <ul><li>What this talk is and what it isn’t </li></ul><ul><li>Me, myself </li></ul><ul><li>What is? </li></ul><ul><li>Why use? </li></ul><ul><li>How to? (a quick run through)‏ </li></ul><ul><li>Quick comparisons (with SVN)‏ </li></ul><ul><li>Resources </li></ul>
  3. 3. P urpose <ul><li>What this talk is? </li></ul><ul><li>Get you interested </li></ul><ul><li>Get you started with Git </li></ul><ul><li>What it isn’t? </li></ul><ul><li>Not a tutorial </li></ul>
  4. 4. W ho am I? <ul><li>(or why should you listen to me)‏ </li></ul><ul><li>24/male/single :)‏ </li></ul><ul><li>Technology consultant </li></ul><ul><li>Ruby/Rails hacker </li></ul><ul><li>SE @ MangoSpring </li></ul>
  5. 5. H istory (Git’s, not mine)‏ <ul><li>Originally written by Linus Torwalds </li></ul><ul><li>Currently maintained by Junio Hamano </li></ul><ul><li>To manage Linux Kernel development </li></ul><ul><li>Open source, free (GNU GPL V2)‏ </li></ul>
  6. 6. W hat the heck is Git? <ul><li>Distributed Source Control Management tool </li></ul><ul><li>Very Powerful </li></ul><ul><li>An order of magnitude fast than other tools </li></ul><ul><li>I call it next generation Unix :)‏ </li></ul>
  7. 7. A bout Git / General features <ul><li>Strong support for non-linear development </li></ul><ul><li>Distributed development </li></ul><ul><li>Toolkit design(c progs and shell scripts, perl scripts )‏ </li></ul><ul><li>Cryptographic auth. history </li></ul>
  8. 8. W here can you use Git? <ul><li>For personal projects (Single person, eg. many Rails projects) </li></ul><ul><li>For very large projects (Linux kernel)‏ </li></ul><ul><li>For almost all size of team projects (OLPC)‏ </li></ul>
  9. 9. G it Installation <ul><li>Using source (linux/macs/similar)‏ </li></ul><ul><li>Using packages e.g. </li></ul><ul><li>port for mac, apt for ubuntu ... </li></ul><ul><li>For Windoze ... cygwin </li></ul>
  10. 10. G it Demo <ul><li>Quick walk through Setting up Git for a Rails app, basic usage, commit, diff, merge, checkout, branches ... </li></ul>
  11. 11. W hy Git? <ul><li>Distributed development </li></ul>
  12. 12. W hy Git? <ul><li>SVN/CVS Centralized development </li></ul>
  13. 13. W hy Git? <ul><li>Efficient convenient Branching and Merging </li></ul><ul><li>Network not necessary | offline </li></ul><ul><li>Fast (logs, history, diff)‏ </li></ul><ul><li>Toolkit design, extensible </li></ul><ul><li>Scales well (Subversion not suited) </li></ul>
  14. 14. W hy Git? <ul><li>Clean </li></ul>
  15. 15. W hy Git? <ul><li>Branching and merging </li></ul>
  16. 16. W hy Git? <ul><li>Git works with Content not files </li></ul>
  17. 17. W hy Git? <ul><li>Content, tracks change of content </li></ul>Use git commit -a to fake file behaviour
  18. 18. E veryday Git <ul><li>fsck, count-objects, gc </li></ul><ul><li>log, show branch, checkout </li></ul><ul><li>add, diff, status, commit, reset </li></ul><ul><li>rebase, tag </li></ul>
  19. 19. R epositories <ul><li>Setup repositories easily </li></ul><ul><li>clone, fetch, pull, push </li></ul><ul><li>Multiple tracking branches over repository </li></ul><ul><li>Fork other repository </li></ul>
  20. 20. M any other tools <ul><li>Web interface </li></ul><ul><li>Blame files, who edited </li></ul><ul><li>Archive the files </li></ul><ul><li>One important -> git-svn </li></ul>
  21. 21. S ubversion <ul><li>git-svn clone svn://repo </li></ul><ul><li>Do normal git things on it </li></ul><ul><li>git-svn dcommit </li></ul><ul><li>git-svn rebase -> to get updates </li></ul><ul><li>perl bindings and subversion must be installed </li></ul>
  22. 22. N ow what? <ul><li>What you can do now? </li></ul><ul><li>Start using Git </li></ul><ul><li>Forget SVN/CVS </li></ul><ul><li>Get advantages of distributed source control system </li></ul>
  23. 23. R esources <ul><li>Git Home Page </li></ul><ul><li> git.or.cz </li></ul><ul><li>Wikipedia entry on git </li></ul><ul><li>en.wikipedia.org/wiki/Git_(Software)‏ </li></ul><ul><li>Linus Torwalds Git talk at Google vid. </li></ul><ul><ul><li>youtube.com/watch?v=4XpnKHJAok8 </li></ul></ul>
  24. 24. <ul><li>Git is Future! </li></ul>
  25. 25. <ul><li>Thank you! </li></ul><ul><li>Questions? </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×