SlideShare a Scribd company logo
Git n.
KIM YongUk (@dalinaum)
  dalinaum@cpan.org
Linus, the Author of Linux




• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)
• Git n.
SVN Sucks!
                            “Don't bother
                           telling me about
                             subversion”



• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)
• Git n.
Linus, the Author of Git




• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)
• Git n.
Why?
•   Cheap Local Branching

•   Everything is Local

•   Git is Fast

•   Git is Small

•   The Staging Area

•   Distributed

•   Any Workflow
Cheap Local Branching!




• http://whygitisbetterthanx.com
Everything is Local!




• http://whygitisbetterthanx.com
Fast!




• http://whygitisbetterthanx.com
Staging Area!




• http://whygitisbetterthanx.com
Small!




• http://whygitisbetterthanx.com
Any Workflow




•   http://whygitisbetterthanx.com
,
?
MsysGit




• Windows       Git

• Msys      (                         )


• ...           apt-get install git
•   ...   3 ,   7
• Contrats.
•      /git

• cd          .
mkdir git-test

• git-test           .
cd git-test

• git-test               .
git init

•                .
• .git   .
•       ?
    ?
Subversion                              .

                            I have a
                          repository.




             SVN Server
GIT                                               .
                                      I have a
               I have a
                                    repository           Me too.
             repository.
                                        too.




GIT Server                 tom PCruise PChristina arguilera

 • Subversion, CVS
 • GIT                                           .

 •              ,
i am a
                                REMOTE!!




    push                               pull
                  100       .
                        !




                                ?



•
• push     pull
Mr. Local
,                         ?
                                               .


   Mr. Local
$ git config --global user.name "Mr. Local"
$ git config --global user.email "local@tom.cruise.com"
notepad.exe       .
                                     .


explorer .

•                (.)                         .

•
             .
•   . (hello.txt)
git status

•             .

• hello.txt           Untracked
                  .
git add hello.txt

• hello.txt                          .

• hello.txt         Changed to be commited
              .
git commit -m “init repo”
• commit          . :)

•        init repo          .
!




•   hello.txt       .
git add hello.txt
git commit -m “blah.. blah”
•                       commit   . :)
git log
•         .
• SVN                  .

•           GIT   40   (SHA)
        .
e7ee4




•
e7ee4   204cb




•
•                   .

•               ?
e7ee4           204cb           f7ae3




            39a3b           e53a1




•                                           ?


     1               3               5




             2               4
1       3               5




        2       4




•                   ?


    1       3               5




•
                        .
?

                .




Miss Branches
#1
•                         1
               .(   4 )


cd ~
mkdir aeguga
git init
.
ssh-keygen -t RSA -C “ob@white.gov”
• ob@white.gov                RSA

•                       (           :   )

•     ,
id_rsa :
            id:rsa.pub:




ls ~/.ssh
•  ~/.ssh   .
.   notepad.exe   ?




                           id_rsa.pub             .




cd ~/.ssh
explorer .
•           (id_rsa.pub)
               .
•     http://github.com       .

•   rsa                   .
•   Account Settings > Account Settings > SSH Public
    Keys

•                       (id_rsa.pub)              .
• Dashboard        .

• New Repository       .
• Projet Name       .

• test          .
SSH       .
•     .
•   .
...


•
•
remote       ?




                 .




         ?




  push           .
remote     Mr.Server

pull        remote       ?

                                      . pull
           push                                ?




            pull
                         Mr. Server


remote
Mr.Server
remote       ?




         ?




                 .
.




         .




?




origin
push



            origin

git remote add origin
git@github.com:dalinaum/test.git
•                                  .
git push origin master

• origin   master                     .

            master                ?




                                              .

                    SVN   trunk           .
#2

•            hello.txt
    github               .
?
    HEAD~2       HEAD~1       HEAD

     204cb        e7ee4            f7ae3




HEAD                           .

•                HEAD         ~1
             .
git checkout HEAD~1
•                     .
git log

•                     .
git checkout master

•         master          .

git checkout HEAD~2
•                             .
git checkout master
•       master            .
.




git branch test
• test                    .

                      ?




git branch
•                 .
master
             ?




            checkout       .



                 .

 git checkout test     ?
.
                                 ...




                        ~!             .




git checkout -b test2
• test2                                    .
.
git checkout HEAD~1
•                               .
git checkout -b before
• before                    .
                         before
                            .
.
                             .




git push origin before
• origin   before        .
The git
The git
.
• HTTP   Git Read-Only
               .

•   Git Read-Only        .(   )
git clone git://github.com/mirrors/linux-2.6.git

• SVN     checkout                           .

•                     git pull
               .
#3

•               github            .

•   : android   cyanogen dalvik
•   gingerbread   ?
origin   donut, eclair, froyo   .




git branch -a
• branch                       .
git checkout -t origin/froyo
• origin froyo                 .
git checkout -t origin/froyo
• origin froyo                 .
git pull origin
• origin          .
  (svn update)
git tag

• tag     .
git checkout cm-7.0.1
•      cm-7.0.1              .


git checkout froyo

•      froyo             .

                             ?
                         !



            thank you!
.




git checkout HEAD~3

git tag longlongago

git checkout froyo
#4
•     github                                    .

    origin
                        ?

               remote
                                    .
               git remote add               .
                         git push       ,
                    remote                  .
                                 ,
               git push sailormoon froyo
                                .
Q&#0A
•   .
The git
Nil.
•   .

More Related Content

What's hot (20)

PDF
git and github
Darren Oakley
 
PDF
Starting with Git & GitHub
Nicolás Tourné
 
PPTX
Git 101 for Beginners
Anurag Upadhaya
 
PDF
Introduction to Git, DrupalCamp LA 2015
mwrather
 
KEY
Moving to Git
Tim Moore
 
PPTX
GIT presentation
Naim Latifi
 
KEY
Git Tech Talk
Chris Johnson
 
PPTX
Gitlikeapro 2019
Jesús Miguel Benito Calzada
 
PPTX
Source control management
Owen Winkler
 
ZIP
Introduction to Git
Randal Schwartz
 
PDF
Inside GitHub
err
 
PDF
Using git in eclipse by Chris Aniszczyk
EclipseDayParis
 
PDF
Gitflow 깃플로우 공유
joonjhokil
 
PDF
Git Tutorial I
Jim Yeh
 
PDF
SouthEast LinuxFest 2015 - intro to git
edgester
 
KEY
Git and GitHub
James Gray
 
PPTX
Intro to Git and GitHub
Uri Goldstein
 
PDF
Git vol 2
Joel Krebs
 
PPTX
Chapman cactus con-2015-nf_workshop
Ryan Chapman
 
PDF
Git & Github for beginners
Paulo Henrique Nonaka
 
git and github
Darren Oakley
 
Starting with Git & GitHub
Nicolás Tourné
 
Git 101 for Beginners
Anurag Upadhaya
 
Introduction to Git, DrupalCamp LA 2015
mwrather
 
Moving to Git
Tim Moore
 
GIT presentation
Naim Latifi
 
Git Tech Talk
Chris Johnson
 
Source control management
Owen Winkler
 
Introduction to Git
Randal Schwartz
 
Inside GitHub
err
 
Using git in eclipse by Chris Aniszczyk
EclipseDayParis
 
Gitflow 깃플로우 공유
joonjhokil
 
Git Tutorial I
Jim Yeh
 
SouthEast LinuxFest 2015 - intro to git
edgester
 
Git and GitHub
James Gray
 
Intro to Git and GitHub
Uri Goldstein
 
Git vol 2
Joel Krebs
 
Chapman cactus con-2015-nf_workshop
Ryan Chapman
 
Git & Github for beginners
Paulo Henrique Nonaka
 

Viewers also liked (20)

PDF
svn 능력자를 위한 git 개념 가이드
Insub Lee
 
PDF
버전관리를 들어본적 없는 사람들을 위한 DVCS - Git
민태 김
 
PDF
HTML5 Semantics
Shay Howe
 
PDF
Mastering CSS3 Selectors
Rachel Andrew
 
PDF
Smacking Git Around Advanced Git Tricks
railsconf
 
PDF
Quality Development with HTML5
Shay Howe
 
PDF
Git in a nutshell
Pranesh Vittal
 
PDF
Quality Development with CSS3
Shay Howe
 
PDF
CSS: selectors and the box model
Idan Gazit
 
PDF
Exploring the GitHub Service Universe
Björn Kimminich
 
PDF
Yes, Designer, You CAN Be a Product Leader
Shay Howe
 
PDF
An Intro to HTML & CSS
Shay Howe
 
PDF
CSS Selectors
Rachel Andrew
 
PDF
Git in a nutshell
Nelson Tai
 
PDF
Intro To Git
kyleburton
 
PDF
Fundamental CSS3
Achmad Solichin
 
PDF
Advanced Git
segv
 
PDF
Git Tutorial 教學
Wen-Tien Chang
 
PDF
Getting Git Right
Sven Peters
 
PDF
Git는 머꼬? GitHub는 또 머지?
Ian Choi
 
svn 능력자를 위한 git 개념 가이드
Insub Lee
 
버전관리를 들어본적 없는 사람들을 위한 DVCS - Git
민태 김
 
HTML5 Semantics
Shay Howe
 
Mastering CSS3 Selectors
Rachel Andrew
 
Smacking Git Around Advanced Git Tricks
railsconf
 
Quality Development with HTML5
Shay Howe
 
Git in a nutshell
Pranesh Vittal
 
Quality Development with CSS3
Shay Howe
 
CSS: selectors and the box model
Idan Gazit
 
Exploring the GitHub Service Universe
Björn Kimminich
 
Yes, Designer, You CAN Be a Product Leader
Shay Howe
 
An Intro to HTML & CSS
Shay Howe
 
CSS Selectors
Rachel Andrew
 
Git in a nutshell
Nelson Tai
 
Intro To Git
kyleburton
 
Fundamental CSS3
Achmad Solichin
 
Advanced Git
segv
 
Git Tutorial 教學
Wen-Tien Chang
 
Getting Git Right
Sven Peters
 
Git는 머꼬? GitHub는 또 머지?
Ian Choi
 
Ad

Similar to The git (20)

PPTX
Git One Day Training Notes
glen_a_smith
 
KEY
Introduction To Git
Arnaud Seilles
 
KEY
Git Basics Philips
Ariejan de Vroom
 
KEY
Git Basics at Rails Underground
Ariejan de Vroom
 
PPTX
Github basics
Radoslav Georgiev
 
PDF
Git 基础
pan weizeng
 
PDF
インフラエンジニアのためのGit入門
Kouhei Maeda
 
ODP
Why You Should Be Using Git
Francisco Vieira
 
PPTX
Learn Git - For Beginners and Intermediate levels
Gorav Singal
 
PPTX
Git-guidance for beginner- IT support.pptx.pptx
vietnguyen1989
 
PPTX
Git-guidance for beginner- IT support.pptx
vietnguyen1989
 
PDF
Introduction to Git
Colin Su
 
PDF
The Basics of Open Source Collaboration With Git and GitHub
BigBlueHat
 
PPTX
11 git version control
Wasim Alatrash
 
PDF
Git简介
clvrobj
 
PPT
Git installation and configuration
Kishor Kumar
 
PDF
COSCUP 開源工作坊:Git workflows
Carl Su
 
PDF
图解Git
Tony Deng
 
PDF
SCM for Android Developers Using Git
Tony Hillerson
 
Git One Day Training Notes
glen_a_smith
 
Introduction To Git
Arnaud Seilles
 
Git Basics Philips
Ariejan de Vroom
 
Git Basics at Rails Underground
Ariejan de Vroom
 
Github basics
Radoslav Georgiev
 
Git 基础
pan weizeng
 
インフラエンジニアのためのGit入門
Kouhei Maeda
 
Why You Should Be Using Git
Francisco Vieira
 
Learn Git - For Beginners and Intermediate levels
Gorav Singal
 
Git-guidance for beginner- IT support.pptx.pptx
vietnguyen1989
 
Git-guidance for beginner- IT support.pptx
vietnguyen1989
 
Introduction to Git
Colin Su
 
The Basics of Open Source Collaboration With Git and GitHub
BigBlueHat
 
11 git version control
Wasim Alatrash
 
Git简介
clvrobj
 
Git installation and configuration
Kishor Kumar
 
COSCUP 開源工作坊:Git workflows
Carl Su
 
图解Git
Tony Deng
 
SCM for Android Developers Using Git
Tony Hillerson
 
Ad

More from Leonardo YongUk Kim (20)

PDF
Compose Multiplatform 101
Leonardo YongUk Kim
 
PDF
Kotlin 2.0을 통해 알아보는 코틀린의 미래
Leonardo YongUk Kim
 
PDF
안드로이드 빌드: 설탕없는 세계
Leonardo YongUk Kim
 
PDF
Realm은 어떻게 효율적인 데이터베이스를 만들었나?
Leonardo YongUk Kim
 
PDF
MVC부터 MVVM, 단방향 데이터 흐름까지
Leonardo YongUk Kim
 
PDF
Anatomy of Realm
Leonardo YongUk Kim
 
PDF
PublishSubject
Leonardo YongUk Kim
 
PDF
Tensorflow 101
Leonardo YongUk Kim
 
PDF
Realm과 RxJava
Leonardo YongUk Kim
 
PDF
A brief introduction to Realm with Kotlin
Leonardo YongUk Kim
 
PDF
Realm Java
Leonardo YongUk Kim
 
PDF
역시 Redux
Leonardo YongUk Kim
 
PDF
3D Graphics 101
Leonardo YongUk Kim
 
PDF
오픈 소스로 취업하기: 나는 어떻게 오픈 소스를 하다 렘 개발자가 되었나?
Leonardo YongUk Kim
 
PDF
Realm: 초고속 데이터베이스
Leonardo YongUk Kim
 
PDF
React Everywhere
Leonardo YongUk Kim
 
PDF
React Redux React Native
Leonardo YongUk Kim
 
PDF
Veni, Vide, Built: Android Gradle Plugin
Leonardo YongUk Kim
 
PPTX
A brief guide to android gradle
Leonardo YongUk Kim
 
PDF
Modern android
Leonardo YongUk Kim
 
Compose Multiplatform 101
Leonardo YongUk Kim
 
Kotlin 2.0을 통해 알아보는 코틀린의 미래
Leonardo YongUk Kim
 
안드로이드 빌드: 설탕없는 세계
Leonardo YongUk Kim
 
Realm은 어떻게 효율적인 데이터베이스를 만들었나?
Leonardo YongUk Kim
 
MVC부터 MVVM, 단방향 데이터 흐름까지
Leonardo YongUk Kim
 
Anatomy of Realm
Leonardo YongUk Kim
 
PublishSubject
Leonardo YongUk Kim
 
Tensorflow 101
Leonardo YongUk Kim
 
Realm과 RxJava
Leonardo YongUk Kim
 
A brief introduction to Realm with Kotlin
Leonardo YongUk Kim
 
역시 Redux
Leonardo YongUk Kim
 
3D Graphics 101
Leonardo YongUk Kim
 
오픈 소스로 취업하기: 나는 어떻게 오픈 소스를 하다 렘 개발자가 되었나?
Leonardo YongUk Kim
 
Realm: 초고속 데이터베이스
Leonardo YongUk Kim
 
React Everywhere
Leonardo YongUk Kim
 
React Redux React Native
Leonardo YongUk Kim
 
Veni, Vide, Built: Android Gradle Plugin
Leonardo YongUk Kim
 
A brief guide to android gradle
Leonardo YongUk Kim
 
Modern android
Leonardo YongUk Kim
 

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 

The git

Editor's Notes