SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
2011   5   14
2011   5   14
2011   5   14
2011   5   14
2011   5   14
2011   5   14
2011   5   14
2011   5   14
2011   5   14
$ mkdir project
                $ cd project/
                $ git init




2011   5   14
$ git config --global 
                user.name ‘Taichiro Yoshida‘
                $ git config --global 
                user.email taichiro.yoshida@gmail.com
                $ git config --list




2011   5   14
$ git status




2011   5   14
$   echo 'change1' > 1.txt
                $   git status
                $   git add 1.txt
                $   git status
                $   echo 'change1' > 2.txt
                $   echo 'change1' > 3.txt
                $   git status
                $   git add .
                $   git status

2011   5   14
$ git commit -m ‘   ’




2011   5   14
$ git log




                $ git log 1.txt



2011   5   14
2011   5   14
2011   5   14
2011   5   14
2011   5   14
master   --o




2011   5   14
master   --o--o




2011   5   14
master    --o--o
                                   
                feature                o




2011   5   14
master    --o--o
                                   
                feature                o--o




2011   5   14
master  --o--o--o
                              
                feature         o--o




2011   5   14
master  --o--o--o
                              
                feature         o--o--o




2011   5   14
master  --o--o--o------o
                                       /
                feature         o--o--o




2011   5   14
master  --o--o--o------o--o
                                       /
                feature         o--o--o




2011   5   14
$ git branch example1



                $ git branch



2011   5   14
$ git checkout example1




                $ git checkout a18180b




                $ git checkout a18180b -b example2


2011   5   14
$ git diff master example1


                #
                $ git diff

                #
                $ git diff --cached


2011   5   14
$ git merge first-branch




2011   5   14
2011   5   14
2011   5   14
2011   5   14

Weitere ähnliche Inhalte

Andere mochten auch

Poinsettia Federal Disease Control Chart 1
Poinsettia Federal Disease Control Chart 1Poinsettia Federal Disease Control Chart 1
Poinsettia Federal Disease Control Chart 1CherylAnn Crysler
 
Management 3.0 : An Oveview about Agile Leadership
Management 3.0 : An Oveview about Agile LeadershipManagement 3.0 : An Oveview about Agile Leadership
Management 3.0 : An Oveview about Agile LeadershipAlexandre Cuva
 
FutuRIS Architecture
FutuRIS ArchitectureFutuRIS Architecture
FutuRIS Architecturepashaz03
 
Management 3.0 overview
Management 3.0 overviewManagement 3.0 overview
Management 3.0 overviewAlexandre Cuva
 
Delivering Happiness - The Meddler Game
Delivering Happiness - The Meddler GameDelivering Happiness - The Meddler Game
Delivering Happiness - The Meddler GameAlexandre Cuva
 
Agile tour2013 Vietnam Millenia Generation
Agile tour2013 Vietnam Millenia GenerationAgile tour2013 Vietnam Millenia Generation
Agile tour2013 Vietnam Millenia GenerationAlexandre Cuva
 
Kanban Pizza Game in Agile Tour Vietnam
Kanban Pizza Game in Agile Tour VietnamKanban Pizza Game in Agile Tour Vietnam
Kanban Pizza Game in Agile Tour VietnamAlexandre Cuva
 

Andere mochten auch (10)

Poinsettia Federal Disease Control Chart 1
Poinsettia Federal Disease Control Chart 1Poinsettia Federal Disease Control Chart 1
Poinsettia Federal Disease Control Chart 1
 
Management 3.0 : An Oveview about Agile Leadership
Management 3.0 : An Oveview about Agile LeadershipManagement 3.0 : An Oveview about Agile Leadership
Management 3.0 : An Oveview about Agile Leadership
 
Management happiness
Management happinessManagement happiness
Management happiness
 
FutuRIS Architecture
FutuRIS ArchitectureFutuRIS Architecture
FutuRIS Architecture
 
Management 3.0 overview
Management 3.0 overviewManagement 3.0 overview
Management 3.0 overview
 
Delivering Happiness - The Meddler Game
Delivering Happiness - The Meddler GameDelivering Happiness - The Meddler Game
Delivering Happiness - The Meddler Game
 
Analisi semiotica casco
Analisi semiotica cascoAnalisi semiotica casco
Analisi semiotica casco
 
Agile Developper
Agile DevelopperAgile Developper
Agile Developper
 
Agile tour2013 Vietnam Millenia Generation
Agile tour2013 Vietnam Millenia GenerationAgile tour2013 Vietnam Millenia Generation
Agile tour2013 Vietnam Millenia Generation
 
Kanban Pizza Game in Agile Tour Vietnam
Kanban Pizza Game in Agile Tour VietnamKanban Pizza Game in Agile Tour Vietnam
Kanban Pizza Game in Agile Tour Vietnam
 

ひとりぎっと 〜ひとりで使うバージョン管理システム導入編〜