SlideShare una empresa de Scribd logo
1 de 9
Descargar para leer sin conexión
Git



      Git
•          clone   pull

• branch

•

•                         (git add)

• branch
(              )

• git clone <shared repository URL>
• git pull
• git checkout -b <new branch name>
• git add <path to be added>
• git commit -m ’comment’
•   (   )


•   (   )
•                               pull

• master            merge (–no-ff       )
  – conflict
  –         3-way merge          ?

•                 push
• git checkout master
• git pull
• git merge --no-ff <branch name>
• git push
• format-patch master

•

• git am (              )
    :
(    )

•                      branch

• git am

• master   merge
(      )

• git am -3       3-way merge

Más contenido relacionado

Más de YAMANE Toshiaki (20)

読書会開催提案
読書会開催提案読書会開催提案
読書会開催提案
 
Lambda ECS Worker Pattern
Lambda ECS Worker PatternLambda ECS Worker Pattern
Lambda ECS Worker Pattern
 
Geek な Recipe の共有
Geek な Recipe の共有Geek な Recipe の共有
Geek な Recipe の共有
 
Git Workshop 20130720
Git Workshop 20130720Git Workshop 20130720
Git Workshop 20130720
 
Designers hack
Designers hackDesigners hack
Designers hack
 
底辺部な勉強会へのお誘い
底辺部な勉強会へのお誘い底辺部な勉強会へのお誘い
底辺部な勉強会へのお誘い
 
2012.10.27 のアンカンファレンスのスライド
2012.10.27 のアンカンファレンスのスライド2012.10.27 のアンカンファレンスのスライド
2012.10.27 のアンカンファレンスのスライド
 
Coderetreat
CoderetreatCoderetreat
Coderetreat
 
Make androidproject.2
Make androidproject.2Make androidproject.2
Make androidproject.2
 
Hello world
Hello worldHello world
Hello world
 
ojag20120519
ojag20120519ojag20120519
ojag20120519
 
20120512
2012051220120512
20120512
 
X hago3
X hago3X hago3
X hago3
 
20110205.jsonengine
20110205.jsonengine20110205.jsonengine
20110205.jsonengine
 
20110205.apple1emu
20110205.apple1emu20110205.apple1emu
20110205.apple1emu
 
20110205.linux 0.01
20110205.linux 0.0120110205.linux 0.01
20110205.linux 0.01
 
20110205.conference
20110205.conference20110205.conference
20110205.conference
 
Introduction ofintent
Introduction ofintentIntroduction ofintent
Introduction ofintent
 
Dialog
DialogDialog
Dialog
 
20101106
2010110620101106
20101106
 

Git Essentials: Clone, Branch, Commit, Push

  • 1. Git Git
  • 2. clone pull • branch • • (git add) • branch
  • 3. ( ) • git clone <shared repository URL> • git pull • git checkout -b <new branch name> • git add <path to be added> • git commit -m ’comment’
  • 4. ( ) • ( )
  • 5. pull • master merge (–no-ff ) – conflict – 3-way merge ? • push
  • 6. • git checkout master • git pull • git merge --no-ff <branch name> • git push
  • 8. ( ) • branch • git am • master merge
  • 9. ( ) • git am -3 3-way merge