Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Git入門

3,179 views

Published on

Explained the model of git repository in Japanese.

Published in: Technology, Education
  • Be the first to comment

Git入門

  1. 1. Git @hiratara 2010 10 21 1
  2. 2. Git • • Linus • 2010 10 21 2
  3. 3. • • 1 • PC 1 2010 10 21 3
  4. 4. Git 2010 10 21 4
  5. 5. 3 .git topic/something master A B C D D D 2010 10 21 5
  6. 6. .git topic/something master A B C D D D’ 2010 10 21 6
  7. 7. git add .git topic/something master A B C D add D’ D’ 2010 10 21 7
  8. 8. .git topic/something master A B C D D’ D’’ 2010 10 21 8
  9. 9. git add .git topic/something master A B C D add D’’ D’’ 2010 10 21 9
  10. 10. git commit .git topic/something master A B C D D’’ commit D’’ D’’ 2010 10 21 10
  11. 11. • D’ → • 2010 10 21 11
  12. 12. 3 .git topic/something master A B C D commit -a commit commit filename add D’ D’’ 2010 10 21 12
  13. 13. git svn SVN Git A B C D 2010 10 21 13
  14. 14. git • ID →ID • ID →ID 2010 10 21 14
  15. 15. git (1) 3` 4’ C’ 1 2 3 4 A B C D 2010 10 21 15
  16. 16. git (2) 4’ 5 1 2 3 4 A B C D 2010 10 21 16
  17. 17. git (rebase) 4 5 D E 1 2 3 6 A B C F 2010 10 21 17
  18. 18. git (rebase) 1 2 3 6 × 4 × 5 A B C F × D × E 2010 10 21 18
  19. 19. git (rebase) 4 5 D E 1 2 3 6 4’ 5’ A B C F D’ E’ 2010 10 21 19
  20. 20. git (rebase(2)) 4 5 D E 1 2 3 6 4’ 5’ A B C 2010 10 21 20
  21. 21. git • • → • ID 2010 10 21 21
  22. 22. topic/something master 1 2 3 4 A B C D 2010 10 21 22
  23. 23. E topic/something 5 master 1 2 3 4 A B C D 2010 10 21 23
  24. 24. topic/something 5 master 1 2 3 4 A B C D 2010 10 21 24
  25. 25. remote • git push git fetch • git pull git fetch + merge git push • To be continued ... ? 2010 10 21 25
  26. 26. • git subversion • git 2010 10 21 26

×