SlideShare a Scribd company logo
1 of 29
Download to read offline
‡ ››Vã
                      SVNF ~ ¦^
                          F
   Use subversion with TortoiseSVN
                      Ù§-‡¯K




             Subversion
Introduction to version control with svn


                       Û[U/ Jerry He
                       hejw06@gmail.com



                          May 25, 2010




                         Jerry He    Introduction to version control with svn
‡ ››Vã
                           SVNF ~ ¦^
                               F
        Use subversion with TortoiseSVN
                           Ù§-‡¯K


̇SN
  1   ‡ ››Vã
       ‡ ››
       ‡ ›› Ä                      n
       Subversion{0
  2   SVNF~¦^
       SVNÚTortoiseSVN SC
       Basic Commands of SVN
  3   Use subversion with TortoiseSVN
       TortoiseSVN{0
       TortoiseSVN¦^
  4   Ù§-‡¯K
       핧S8¹
       õ^r Š

                              Jerry He    Introduction to version control with svn
‡ ››Vã
                           SVNF ~ ¦^
                               F
        Use subversion with TortoiseSVN
                           Ù§-‡¯K


̇SN
  1   ‡ ››Vã
       ‡ ››
       ‡ ›› Ä                      n
       Subversion{0
  2   SVNF~¦^
       SVNÚTortoiseSVN SC
       Basic Commands of SVN
  3   Use subversion with TortoiseSVN
       TortoiseSVN{0
       TortoiseSVN¦^
  4   Ù§-‡¯K
       핧S8¹
       õ^r Š

                              Jerry He    Introduction to version control with svn
‡ ››Vã
                           SVNF ~ ¦^
                               F
        Use subversion with TortoiseSVN
                           Ù§-‡¯K


̇SN
  1   ‡ ››Vã
       ‡ ››
       ‡ ›› Ä                      n
       Subversion{0
  2   SVNF~¦^
       SVNÚTortoiseSVN SC
       Basic Commands of SVN
  3   Use subversion with TortoiseSVN
       TortoiseSVN{0
       TortoiseSVN¦^
  4   Ù§-‡¯K
       핧S8¹
       õ^r Š

                              Jerry He    Introduction to version control with svn
‡ ››Vã
                           SVNF ~ ¦^
                               F
        Use subversion with TortoiseSVN
                           Ù§-‡¯K


̇SN
  1   ‡ ››Vã
       ‡ ››
       ‡ ›› Ä                      n
       Subversion{0
  2   SVNF~¦^
       SVNÚTortoiseSVN SC
       Basic Commands of SVN
  3   Use subversion with TortoiseSVN
       TortoiseSVN{0
       TortoiseSVN¦^
  4   Ù§-‡¯K
       핧S8¹
       õ^r Š

                              Jerry He    Introduction to version control with svn
‡ ››Vã
                                   ‡ ››
                    SVNF ~ ¦^
                        F
                                   ‡ ›› Ä            n
 Use subversion with TortoiseSVN
                                   Subversion{ 0
                                             {
                    Ù§-‡¯K




1 ‡ ››Vã




                       Jerry He    Introduction to version control with svn
‡ ››Vã
                                           ‡ ››
                            SVNF ~ ¦^
                                F
                                           ‡ ›› Ä            n
         Use subversion with TortoiseSVN
                                           Subversion{ 0
                                                     {
                            Ù§-‡¯K


‡ ››

 ^5)û±e¯K
     ²~•U§…kž‡ wL                              {¤
     l˜‡‡ –,˜‡‡                        Ñu) = Cz£íäbug Ú
     u ˜¤
     ˜‡‘8k= <3‰§Ñ‰ Ÿo§Ÿožm
     =‡<' ¹ §=‡<vk‰ŸoóŠ
     “   §ù‡AT3· ‡ þ•U”Awful!

 ‡   ››·^‰Œ
     ²~C• © ] "
         CÄ         ?›©‡"

                               Jerry He    Introduction to version control with svn
‡ ››Vã
                                         ‡ ››
                          SVNF ~ ¦^
                              F
                                         ‡ ›› Ä            n
       Use subversion with TortoiseSVN
                                         Subversion{ 0
                                                   {
                          Ù§-‡¯K


‡ ››    Ä              n




  •Èƒ gŽ§copy+date"
  Oþ•;§•;•UC ÀÜ"
  8¹•AT‡ z"




                             Jerry He    Introduction to version control with svn
‡ ››Vã
                                           ‡ ››
                            SVNF ~ ¦^
                                F
                                           ‡ ›› Ä          n
         Use subversion with TortoiseSVN
                                           Subversion{ 0
                                                     {
                            Ù§-‡¯K


©‡ •¯K
¤k‡   ››^‡Ñ‡)û Ø%¯K

   ¤k ‡ ››XÚÑ7L)û˜‡ Ó Ä ¯KµXÛ
 4^r5 •&E§¿…„‡;•¦‚Ø %CXKO<éó¥
 ¥êâŠL ?Uº




                             ã: ©‡ Introduction to version control with svn
                              Jerry He •¯K
‡ ››Vã
                                           ‡ ››
                            SVNF ~ ¦^
                                F
                                           ‡ ›› Ä            n
         Use subversion with TortoiseSVN
                                           Subversion{ 0
                                                     {
                            Ù§-‡¯K


©‡ •¯K
¤k‡   ››^‡Ñ‡)û Ø%¯K

   Nõ‡ ››XÚѦ^/£½ö?Uö)£0 .5)û
 ù‡¯K§ÃXµVSS 3ù ˜‡XÚ¥§ó¥3˜‡A½
 ž••#N˜‡<é,‡©‡?1?U"




                             ã: ©‡ •¯K
                               Jerry He    Introduction to version control with svn
‡ ››Vã
                                           ‡ ››
                            SVNF ~ ¦^
                                F
                                           ‡ ›› Ä            n
         Use subversion with TortoiseSVN
                                           Subversion{ 0
                                                     {
                            Ù§-‡¯K


©‡ •¯K
¤k‡   ››^‡Ñ‡)û Ø%¯K




      Subversion!CVS±9Ù¦˜ ‡ ››XÚ¦^/E›ö
      ?UöÜ¿0 .5“O£½"
      z˜‡^r •rà^‡l¥ ó¥Mïј°‡<                                                         óŠ
      B öö󥥩‡Ú8¹  /N "
      ^rÒŒ±¿1óŠ§?UÃ¥ hkB "
      ù hkB Ü¿¤•˜‡ # ‡ "
      ‡ ››XÚ~~I‡Ü¿§ ´•ª§öŠö                                                           7LK
      I4Ü¿óŠ (?1"

      Note: SVN•Jø£½©‡õU


                               Jerry He    Introduction to version control with svn
‡ ››Vã
                                           ‡ ››
                           SVNF ~ ¦^
                               F
                                           ‡ ›› Ä            n
        Use subversion with TortoiseSVN
                                           Subversion{ 0
                                                     {
                           Ù§-‡¯K


Subversion       A:

 SUBVERSION§{¡SVN§“Open,Popular,Free” ‡
 ››^‡
    ·¶¹Âµsub+version, 6C"
    {ü´^!2•¦^
     O^5O“CVS§U«                          CVS ŒÜ©A5§¿OŒþ
    Ù§A5"
    m !-½!阄ìNv rŒ
    “Real Version”§ë8¹•´‡ z                             "
     fJ £“All or nothing”¤
    „ݯ§Ø 'p§Oþ•;"


                              Jerry He     Introduction to version control with svn
‡ ››Vã
                                       ‡ ››
                        SVNF ~ ¦^
                            F
                                       ‡ ›› Ä            n
     Use subversion with TortoiseSVN
                                       Subversion{ 0
                                                 {
                        Ù§-‡¯K


SVN†Ù§‡          ››^‡'




                   ã: ˆ«‡ ››^‡'
                           Jerry He    Introduction to version control with svn
‡ ››Vã
                     SVNF ~ ¦^
                         F          SVNÚ TortoiseSVN S C
                                        Ú
  Use subversion with TortoiseSVN   Basic Commands of SVN
                     Ù§-‡¯K




2 SVNF~¦^




                        Jerry He    Introduction to version control with svn
‡ ››Vã
                                   SVNF ~ ¦^
                                       F          SVNÚ TortoiseSVN S C
                                                      Ú
                Use subversion with TortoiseSVN   Basic Commands of SVN
                                   Ù§-‡¯K


SVNÚTortoiseSVN                               SC


 For Windowsµvery easy to install
  1 http://subversion.apache.org/

    lastest version “Subversion 1.6.11”
  2   install
  3   http://tortoisesvn.net/downloads
      lastest version “TortoiseSVN 1.6.8”
  4   reboot
      Note: S‚ TortoiseSVN 7L‡-é



                                      Jerry He    Introduction to version control with svn
‡ ››Vã
                              SVNF ~ ¦^
                                  F          SVNÚ TortoiseSVN S C
                                                 Ú
           Use subversion with TortoiseSVN   Basic Commands of SVN
                              Ù§-‡¯K


svnadmin create, svn import


 Create Repository, Import files
     svnadmin create REPOS PATHµ3REPOS PATH?ïá‡
       ¥"
     svn import [Path] URL: òPath8¹S ¤k©‡URL•
     ½ ‡ ¥"

 Example
    E: > mkdir repos
     E: >svnadmin create repos
     E: >svn import -m “First repos” E:/test file:///E:/repos


                                 Jerry He    Introduction to version control with svn
‡ ››Vã
                             SVNF ~ ¦^
                                 F          SVNÚ TortoiseSVN S C
                                                Ú
          Use subversion with TortoiseSVN   Basic Commands of SVN
                             Ù§-‡¯K


svn checkout, svn update


 Checkout
    Š^µl Y¥ÑóŠ€
    ^{µsvn checkout URL [´»]
    «~µE:>svn checkout file:///E:/repos myrepos

 Update
    Š^µò Y¥ UC‡A–óŠ€
    ^{µsvn update [´»]
    «~µE:>svn update myrepos



                                Jerry He    Introduction to version control with svn
‡ ››Vã
                              SVNF ~ ¦^
                                  F          SVNÚ TortoiseSVN S C
                                                 Ú
           Use subversion with TortoiseSVN   Basic Commands of SVN
                              Ù§-‡¯K


svn add, delete, copy, move, and so on

     svn add
         O©‡½ö8¹ ] ¥¥§, commit"^‡´T©‡
         ½ö8¹®²3ƒA 8¹þ"
     svn delete
         íØ3¥¥              ©‡½ö8¹§,                    commit"
     svn copy
         € ©‡§, commit
     svn move
         £Ä©‡½8¹ , 8¹¥§ƒ u€ !íØ                                                         |Ü
     ,krevert, resolved, cleanup, log, mkdir, etc.·-§Œ¦
     ^svn helpÚsvn help command5 w•Ï"

     Note:±þ ·-´ éóŠB                             ?1 §¤±‡commitâ
 k
                                 Jerry He    Introduction to version control with svn
‡ ››Vã
                      SVNF ~ ¦^
                          F          TortoiseSVN{0
                                                {
   Use subversion with TortoiseSVN   TortoiseSVN¦^
                                                ¦
                      Ù§-‡¯K




3 Use subversion with TortoiseSVN




                         Jerry He    Introduction to version control with svn
‡ ››Vã
                         SVNF ~ ¦^
                             F          TortoiseSVN{0
                                                   {
      Use subversion with TortoiseSVN   TortoiseSVN¦^
                                                   ¦
                         Ù§-‡¯K


•ràóäTortoiseSVN




   WindowsöŠXÚ•rÅ"
   ã/z.¡§8¤ svnÚsvnadmin·-1óä õU"
   T•rÅ8¤u] +nìõU¥§¦^•B§´uݺ"
   SC•{3c¡®²Qã"




                            Jerry He    Introduction to version control with svn
‡ ››Vã
                          SVNF ~ ¦^
                              F          TortoiseSVN{0
                                                    {
       Use subversion with TortoiseSVN   TortoiseSVN¦^
                                                    ¦
                          Ù§-‡¯K


ãI-1

 XJ•½ 8¹½ö©‡®² B A½ ] ¥¥§Œ±
 3] +nì¥w˜eù ©‡ ãIkŸoCz"ù•
 ´TortoiseSVNùo61  σ˜TortoiseSVN ¡•-
 1ãI õU-1        © ©‡ãI"Šâ©‡ SubversionG
    ØÓ§-1 ãI•ØÓ"




                               ã: ãI-1

                             Jerry He    Introduction to version control with svn
‡ ››Vã
                              SVNF ~ ¦^
                                  F          TortoiseSVN{0
                                                        {
           Use subversion with TortoiseSVN   TortoiseSVN¦^
                                                        ¦
                              Ù§-‡¯K


TortoiseSVN~^õU


 Example
    Mï‡ ¥
      ‡ ¥
    checkout
    commit£ØÓ8¹§cJ^‡¤
    update£Û?I‡¤
    rename
    diff




                                 Jerry He    Introduction to version control with svn
‡ ››Vã
                          SVNF ~ ¦^
                              F          TortoiseSVN{0
                                                    {
       Use subversion with TortoiseSVN   TortoiseSVN¦^
                                                    ¦
                          Ù§-‡¯K


?nÀâ



  XJSally ?U¬CXKHarry                         óŠNo•ºù«œ¹
  ‰”Àâ£conflict¤
   Harry‡¦¦ •rà^‡Ü¿ó¥¥                                         •#?U óŠ
  B ž§©‡A IP•ÀâG "
  ‘ ù«œ¹§•k<  âkUån)Ú‰ÑÜn                                                           À
  J"5¿§^‡¿ØUgÄ)ûÀâ"
  SVNmuö@•µ^u)ûÀâ žm                                                 u£½XÚ¤
  ‘5 žmL¤"(I think that’s right.)




                             Jerry He    Introduction to version control with svn
‡ ››Vã
                    SVNF ~ ¦^
                        F          핧S8¹
 Use subversion with TortoiseSVN   õ^r Š
                    Ù§-‡¯K




4 Ù§-‡¯K




                       Jerry He    Introduction to version control with svn
‡ ››Vã
                            SVNF ~ ¦^
                                F          핧S8¹
         Use subversion with TortoiseSVN   õ^r Š
                            Ù§-‡¯K


핧S8¹




  repository
      ‘8¶
             trunk ̇
             branches ©|‡ £Õá ¤
             tags IP‡ §Xv1.0, v2.0




                               Jerry He    Introduction to version control with svn
‡ ››Vã
                          SVNF ~ ¦^
                              F          핧S8¹
       Use subversion with TortoiseSVN   õ^r Š
                          Ù§-‡¯K


õ^r Š


   ˜
    svn+svnserve
    eg: svn://localhost/repos
    svn+appache
    eg:svn checkout http://166.111.**.**/repos
  S ¯K
       ˜authzÚpasswd©‡"
  ©|
  £ò ,˜‡
  ‡ Ò(¾£SVNØv¤



                             Jerry He    Introduction to version control with svn
‡ ››Vã
                       SVNF ~ ¦^
                           F          핧S8¹
    Use subversion with TortoiseSVN   õ^r Š
                       Ù§-‡¯K


í••Z¢‚



  Ø+Û«^‡•ª8 •´• •Ð                                        6"
  J ck3 /?1ÿÁ§Ø#Nò †Ø ©‡J                                                        ‡
   ¥"
   yª„ J "
  gÄ)¤ ÀÜÚ ž©‡Ø‡˜‡ ¥¥"
  J c˜½‡              5µk|ugCÚÙ§<£O"
  ¦^k¿Â I¶/©|¶"




                          Jerry He    Introduction to version control with svn
‡ ››Vã
                             SVNF ~ ¦^
                                 F          핧S8¹
          Use subversion with TortoiseSVN   õ^r Š
                             Ù§-‡¯K


Useful SVN links




    http://svnbook.red-bean.com/
    http://subversion.apache.org/
    AnkhSVN http://ankhsvn.tigris.net




                                Jerry He    Introduction to version control with svn
‡ ››Vã
                   SVNF ~ ¦^
                       F          핧S8¹
Use subversion with TortoiseSVN   õ^r Š
                   Ù§-‡¯K




Thanks for your attention!
         Q&A




                      Jerry He    Introduction to version control with svn

More Related Content

Viewers also liked

Vademecum_it
Vademecum_itVademecum_it
Vademecum_itItaloblog
 
Sondaggio ccis
Sondaggio ccisSondaggio ccis
Sondaggio ccisItaloblog
 
Banks’ role in supporting agriculture and food industry
Banks’ role in supporting agriculture and food industry Banks’ role in supporting agriculture and food industry
Banks’ role in supporting agriculture and food industry Italoblog
 
Pileri Osservatorio Italia Digitale
Pileri  Osservatorio  Italia  DigitalePileri  Osservatorio  Italia  Digitale
Pileri Osservatorio Italia DigitaleItaloblog
 
Prezentacia matousek
Prezentacia matousekPrezentacia matousek
Prezentacia matousekItaloblog
 
Tax seminar 2013 physical persons
Tax seminar 2013   physical personsTax seminar 2013   physical persons
Tax seminar 2013 physical personsItaloblog
 
Franco mosconi
Franco mosconiFranco mosconi
Franco mosconiItaloblog
 
Politalk: Sviluppo del Territorio
Politalk: Sviluppo del TerritorioPolitalk: Sviluppo del Territorio
Politalk: Sviluppo del TerritorioFulvio
 
Terra Santa'09
Terra Santa'09Terra Santa'09
Terra Santa'09Fulvio
 
Tsok may 2012 ita
Tsok may 2012 itaTsok may 2012 ita
Tsok may 2012 itaItaloblog
 
Tsok may 2012
Tsok may 2012Tsok may 2012
Tsok may 2012Italoblog
 
GWU Event Management Portfolio Appendix A
GWU Event Management Portfolio Appendix A GWU Event Management Portfolio Appendix A
GWU Event Management Portfolio Appendix A Ivy Writer Media
 
Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1. L E M B A G A K...
Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1.  L E M B A G A  K...Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1.  L E M B A G A  K...
Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1. L E M B A G A K...terry_herianta_tarigan
 
Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...
Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...
Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...Italoblog
 
Strategia Internet
Strategia InternetStrategia Internet
Strategia Internettteodorczyk
 
Garage gym
Garage gymGarage gym
Garage gymtegolo
 
Lorenzo terzi 2
Lorenzo terzi 2Lorenzo terzi 2
Lorenzo terzi 2Italoblog
 

Viewers also liked (19)

Vademecum_it
Vademecum_itVademecum_it
Vademecum_it
 
Sondaggio ccis
Sondaggio ccisSondaggio ccis
Sondaggio ccis
 
Banks’ role in supporting agriculture and food industry
Banks’ role in supporting agriculture and food industry Banks’ role in supporting agriculture and food industry
Banks’ role in supporting agriculture and food industry
 
Pileri Osservatorio Italia Digitale
Pileri  Osservatorio  Italia  DigitalePileri  Osservatorio  Italia  Digitale
Pileri Osservatorio Italia Digitale
 
Prezentacia matousek
Prezentacia matousekPrezentacia matousek
Prezentacia matousek
 
Tax seminar 2013 physical persons
Tax seminar 2013   physical personsTax seminar 2013   physical persons
Tax seminar 2013 physical persons
 
Franco mosconi
Franco mosconiFranco mosconi
Franco mosconi
 
Politalk: Sviluppo del Territorio
Politalk: Sviluppo del TerritorioPolitalk: Sviluppo del Territorio
Politalk: Sviluppo del Territorio
 
Terra Santa'09
Terra Santa'09Terra Santa'09
Terra Santa'09
 
Tsok may 2012 ita
Tsok may 2012 itaTsok may 2012 ita
Tsok may 2012 ita
 
Tsok may 2012
Tsok may 2012Tsok may 2012
Tsok may 2012
 
GWU Event Management Portfolio Appendix A
GWU Event Management Portfolio Appendix A GWU Event Management Portfolio Appendix A
GWU Event Management Portfolio Appendix A
 
Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1. L E M B A G A K...
Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1.  L E M B A G A  K...Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1.  L E M B A G A  K...
Dari Orde Baru ke Indonesia Baru lewat Reformasi Total - 1. L E M B A G A K...
 
Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...
Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...
Vladimir Zlacky: FDI facts and medium term outlook for SlovakiaConference 23r...
 
Strategia Internet
Strategia InternetStrategia Internet
Strategia Internet
 
Introducing Assetmapr
Introducing AssetmaprIntroducing Assetmapr
Introducing Assetmapr
 
Garage gym
Garage gymGarage gym
Garage gym
 
Lorenzo terzi 2
Lorenzo terzi 2Lorenzo terzi 2
Lorenzo terzi 2
 
Airbus Plc Final
Airbus Plc FinalAirbus Plc Final
Airbus Plc Final
 

Recently uploaded

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Introduction to Subversion

  • 1. ‡ ››Vã SVNF ~ ¦^ F Use subversion with TortoiseSVN Ù§-‡¯K Subversion Introduction to version control with svn Û[U/ Jerry He hejw06@gmail.com May 25, 2010 Jerry He Introduction to version control with svn
  • 2. ‡ ››Vã SVNF ~ ¦^ F Use subversion with TortoiseSVN Ù§-‡¯K ̇SN 1 ‡ ››Vã ‡ ›› ‡ ›› Ä n Subversion{0 2 SVNF~¦^ SVNÚTortoiseSVN SC Basic Commands of SVN 3 Use subversion with TortoiseSVN TortoiseSVN{0 TortoiseSVN¦^ 4 Ù§-‡¯K 핧S8¹ õ^r Š Jerry He Introduction to version control with svn
  • 3. ‡ ››Vã SVNF ~ ¦^ F Use subversion with TortoiseSVN Ù§-‡¯K ̇SN 1 ‡ ››Vã ‡ ›› ‡ ›› Ä n Subversion{0 2 SVNF~¦^ SVNÚTortoiseSVN SC Basic Commands of SVN 3 Use subversion with TortoiseSVN TortoiseSVN{0 TortoiseSVN¦^ 4 Ù§-‡¯K 핧S8¹ õ^r Š Jerry He Introduction to version control with svn
  • 4. ‡ ››Vã SVNF ~ ¦^ F Use subversion with TortoiseSVN Ù§-‡¯K ̇SN 1 ‡ ››Vã ‡ ›› ‡ ›› Ä n Subversion{0 2 SVNF~¦^ SVNÚTortoiseSVN SC Basic Commands of SVN 3 Use subversion with TortoiseSVN TortoiseSVN{0 TortoiseSVN¦^ 4 Ù§-‡¯K 핧S8¹ õ^r Š Jerry He Introduction to version control with svn
  • 5. ‡ ››Vã SVNF ~ ¦^ F Use subversion with TortoiseSVN Ù§-‡¯K ̇SN 1 ‡ ››Vã ‡ ›› ‡ ›› Ä n Subversion{0 2 SVNF~¦^ SVNÚTortoiseSVN SC Basic Commands of SVN 3 Use subversion with TortoiseSVN TortoiseSVN{0 TortoiseSVN¦^ 4 Ù§-‡¯K 핧S8¹ õ^r Š Jerry He Introduction to version control with svn
  • 6. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K 1 ‡ ››Vã Jerry He Introduction to version control with svn
  • 7. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K ‡ ›› ^5)û±e¯K ²~•U§…kž‡ wL {¤ l˜‡‡ –,˜‡‡ Ñu) = Cz£íäbug Ú u ˜¤ ˜‡‘8k= <3‰§Ñ‰ Ÿo§Ÿožm =‡<' ¹ §=‡<vk‰ŸoóŠ “ §ù‡AT3· ‡ þ•U”Awful! ‡ ››·^‰Œ ²~C• © ] " CÄ ?›©‡" Jerry He Introduction to version control with svn
  • 8. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K ‡ ›› Ä n •Èƒ gŽ§copy+date" Oþ•;§•;•UC ÀÜ" 8¹•AT‡ z" Jerry He Introduction to version control with svn
  • 9. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K ©‡ •¯K ¤k‡ ››^‡Ñ‡)û Ø%¯K ¤k ‡ ››XÚÑ7L)û˜‡ Ó Ä ¯KµXÛ 4^r5 •&E§¿…„‡;•¦‚Ø %CXKO<éó¥ ¥êâŠL ?Uº ã: ©‡ Introduction to version control with svn Jerry He •¯K
  • 10. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K ©‡ •¯K ¤k‡ ››^‡Ñ‡)û Ø%¯K Nõ‡ ››XÚѦ^/£½ö?Uö)£0 .5)û ù‡¯K§ÃXµVSS 3ù ˜‡XÚ¥§ó¥3˜‡A½ ž••#N˜‡<é,‡©‡?1?U" ã: ©‡ •¯K Jerry He Introduction to version control with svn
  • 11. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K ©‡ •¯K ¤k‡ ››^‡Ñ‡)û Ø%¯K Subversion!CVS±9Ù¦˜ ‡ ››XÚ¦^/E›ö ?UöÜ¿0 .5“O£½" z˜‡^r •rà^‡l¥ ó¥Mïј°‡< óŠ B öö󥥩‡Ú8¹ /N " ^rÒŒ±¿1óŠ§?UÃ¥ hkB " ù hkB Ü¿¤•˜‡ # ‡ " ‡ ››XÚ~~I‡Ü¿§ ´•ª§öŠö 7LK I4Ü¿óŠ (?1" Note: SVN•Jø£½©‡õU Jerry He Introduction to version control with svn
  • 12. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K Subversion A: SUBVERSION§{¡SVN§“Open,Popular,Free” ‡ ››^‡ ·¶¹Âµsub+version, 6C" {ü´^!2•¦^ O^5O“CVS§U« CVS ŒÜ©A5§¿OŒþ Ù§A5" m !-½!阄ìNv rŒ “Real Version”§ë8¹•´‡ z " fJ £“All or nothing”¤ „ݯ§Ø 'p§Oþ•;" Jerry He Introduction to version control with svn
  • 13. ‡ ››Vã ‡ ›› SVNF ~ ¦^ F ‡ ›› Ä n Use subversion with TortoiseSVN Subversion{ 0 { Ù§-‡¯K SVN†Ù§‡ ››^‡' ã: ˆ«‡ ››^‡' Jerry He Introduction to version control with svn
  • 14. ‡ ››Vã SVNF ~ ¦^ F SVNÚ TortoiseSVN S C Ú Use subversion with TortoiseSVN Basic Commands of SVN Ù§-‡¯K 2 SVNF~¦^ Jerry He Introduction to version control with svn
  • 15. ‡ ››Vã SVNF ~ ¦^ F SVNÚ TortoiseSVN S C Ú Use subversion with TortoiseSVN Basic Commands of SVN Ù§-‡¯K SVNÚTortoiseSVN SC For Windowsµvery easy to install 1 http://subversion.apache.org/ lastest version “Subversion 1.6.11” 2 install 3 http://tortoisesvn.net/downloads lastest version “TortoiseSVN 1.6.8” 4 reboot Note: S‚ TortoiseSVN 7L‡-é Jerry He Introduction to version control with svn
  • 16. ‡ ››Vã SVNF ~ ¦^ F SVNÚ TortoiseSVN S C Ú Use subversion with TortoiseSVN Basic Commands of SVN Ù§-‡¯K svnadmin create, svn import Create Repository, Import files svnadmin create REPOS PATHµ3REPOS PATH?ïᇠ¥" svn import [Path] URL: òPath8¹S ¤k©‡URL• ½ ‡ ¥" Example E: > mkdir repos E: >svnadmin create repos E: >svn import -m “First repos” E:/test file:///E:/repos Jerry He Introduction to version control with svn
  • 17. ‡ ››Vã SVNF ~ ¦^ F SVNÚ TortoiseSVN S C Ú Use subversion with TortoiseSVN Basic Commands of SVN Ù§-‡¯K svn checkout, svn update Checkout Š^µl Y¥ÑóŠ€ ^{µsvn checkout URL [´»] «~µE:>svn checkout file:///E:/repos myrepos Update Š^µò Y¥ UC‡A–óŠ€ ^{µsvn update [´»] «~µE:>svn update myrepos Jerry He Introduction to version control with svn
  • 18. ‡ ››Vã SVNF ~ ¦^ F SVNÚ TortoiseSVN S C Ú Use subversion with TortoiseSVN Basic Commands of SVN Ù§-‡¯K svn add, delete, copy, move, and so on svn add O©‡½ö8¹ ] ¥¥§, commit"^‡´T©‡ ½ö8¹®²3ƒA 8¹þ" svn delete íØ3¥¥ ©‡½ö8¹§, commit" svn copy € ©‡§, commit svn move £Ä©‡½8¹ , 8¹¥§ƒ u€ !íØ |Ü ,krevert, resolved, cleanup, log, mkdir, etc.·-§Œ¦ ^svn helpÚsvn help command5 w•Ï" Note:±þ ·-´ éóŠB ?1 §¤±‡commitâ k Jerry He Introduction to version control with svn
  • 19. ‡ ››Vã SVNF ~ ¦^ F TortoiseSVN{0 { Use subversion with TortoiseSVN TortoiseSVN¦^ ¦ Ù§-‡¯K 3 Use subversion with TortoiseSVN Jerry He Introduction to version control with svn
  • 20. ‡ ››Vã SVNF ~ ¦^ F TortoiseSVN{0 { Use subversion with TortoiseSVN TortoiseSVN¦^ ¦ Ù§-‡¯K •ràóäTortoiseSVN WindowsöŠXÚ•rÅ" ã/z.¡§8¤ svnÚsvnadmin·-1óä õU" T•rÅ8¤u] +nìõU¥§¦^•B§´uݺ" SC•{3c¡®²Qã" Jerry He Introduction to version control with svn
  • 21. ‡ ››Vã SVNF ~ ¦^ F TortoiseSVN{0 { Use subversion with TortoiseSVN TortoiseSVN¦^ ¦ Ù§-‡¯K ãI-1 XJ•½ 8¹½ö©‡®² B A½ ] ¥¥§Œ± 3] +nì¥w˜eù ©‡ ãIkŸoCz"ù• ´TortoiseSVNùo61 σ˜TortoiseSVN ¡•- 1ãI õU-1 © ©‡ãI"Šâ©‡ SubversionG ØÓ§-1 ãI•ØÓ" ã: ãI-1 Jerry He Introduction to version control with svn
  • 22. ‡ ››Vã SVNF ~ ¦^ F TortoiseSVN{0 { Use subversion with TortoiseSVN TortoiseSVN¦^ ¦ Ù§-‡¯K TortoiseSVN~^õU Example Mï‡ ¥ ‡ ¥ checkout commit£ØÓ8¹§cJ^‡¤ update£Û?I‡¤ rename diff Jerry He Introduction to version control with svn
  • 23. ‡ ››Vã SVNF ~ ¦^ F TortoiseSVN{0 { Use subversion with TortoiseSVN TortoiseSVN¦^ ¦ Ù§-‡¯K ?nÀâ XJSally ?U¬CXKHarry óŠNo•ºù«œ¹ ‰”Àâ£conflict¤ Harry‡¦¦ •rà^‡Ü¿ó¥¥ •#?U óŠ B ž§©‡A IP•ÀâG " ‘ ù«œ¹§•k< âkUån)Ú‰ÑÜn À J"5¿§^‡¿ØUgÄ)ûÀâ" SVNmuö@•µ^u)ûÀâ žm u£½XÚ¤ ‘5 žmL¤"(I think that’s right.) Jerry He Introduction to version control with svn
  • 24. ‡ ››Vã SVNF ~ ¦^ F 핧S8¹ Use subversion with TortoiseSVN õ^r Š Ù§-‡¯K 4 Ù§-‡¯K Jerry He Introduction to version control with svn
  • 25. ‡ ››Vã SVNF ~ ¦^ F 핧S8¹ Use subversion with TortoiseSVN õ^r Š Ù§-‡¯K 핧S8¹ repository ‘8¶ trunk ̇ branches ©|‡ £Õá ¤ tags IP‡ §Xv1.0, v2.0 Jerry He Introduction to version control with svn
  • 26. ‡ ››Vã SVNF ~ ¦^ F 핧S8¹ Use subversion with TortoiseSVN õ^r Š Ù§-‡¯K õ^r Š ˜ svn+svnserve eg: svn://localhost/repos svn+appache eg:svn checkout http://166.111.**.**/repos S ¯K ˜authzÚpasswd©‡" ©| £ò ,˜‡ ‡ Ò(¾£SVNØv¤ Jerry He Introduction to version control with svn
  • 27. ‡ ››Vã SVNF ~ ¦^ F 핧S8¹ Use subversion with TortoiseSVN õ^r Š Ù§-‡¯K í••Z¢‚ Ø+Û«^‡•ª8 •´• •Ð 6" J ck3 /?1ÿÁ§Ø#Nò †Ø ©‡J ‡ ¥" yª„ J " gÄ)¤ ÀÜÚ ž©‡Ø‡˜‡ ¥¥" J c˜½‡ 5µk|ugCÚÙ§<£O" ¦^k¿Â I¶/©|¶" Jerry He Introduction to version control with svn
  • 28. ‡ ››Vã SVNF ~ ¦^ F 핧S8¹ Use subversion with TortoiseSVN õ^r Š Ù§-‡¯K Useful SVN links http://svnbook.red-bean.com/ http://subversion.apache.org/ AnkhSVN http://ankhsvn.tigris.net Jerry He Introduction to version control with svn
  • 29. ‡ ››Vã SVNF ~ ¦^ F 핧S8¹ Use subversion with TortoiseSVN õ^r Š Ù§-‡¯K Thanks for your attention! Q&A Jerry He Introduction to version control with svn