Your SlideShare is downloading. ×
0
Git
                       @hiratara




2010   10   21                     1
Git

                 •
                 • Linus
                 •


2010   10   21                   2
•
                     •          1

                     • PC   1




2010   10   21                      3
Git




2010   10   21         4
3
       .git
                                 topic/something
                                 master
                 A ...
.git
                                 topic/something
                                 master
                 A   B   C  ...
git add
       .git
                                     topic/something
                                     master
     ...
.git
                                  topic/something
                                  master
                  A   B   ...
git add
       .git
                                      topic/something
                                      master
   ...
git commit
       .git
                                      topic/something
                                             ...
• D’
                     →

                 •



2010   10   21           11
3
       .git
                                        topic/something
                                        master
     ...
git   svn

            SVN




                 Git
                         A   B     C   D

2010   10   21              ...
git

                 •
                            ID
                     →ID

                 •               ID
     ...
git                    (1)

                               3`       4’


                               C’
               ...
git               (2)

                                   4’    5




                 1     2   3   4


                 ...
git                   (rebase)



                                   4    5


                                   D    E
  ...
git                       (rebase)




                 1     2   3   6
                                       ×
         ...
git                    (rebase)



                                   4        5


                                   D   ...
git                   (rebase(2))



                                   4        5


                                   D ...
git
                 •

                 •
                     →

                 •             ID


2010   10   21     ...
topic/something
                                      master
                 1   2   3      4


                 A   B   ...
E   topic/something
                             5

                                 master
                 1   2   3   4...
topic/something

                                 5

                                     master
                 1   2   ...
remote
                 • git push    git fetch



                 • git pull   git fetch + merge
                   git ...
• git   subversion



                 • git



2010   10   21                        26
Upcoming SlideShare
Loading in...5
×

Git入門

2,746

Published on

Explained the model of git repository in Japanese.

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

No Downloads
Views
Total Views
2,746
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
20
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

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

×