SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
‡ ››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

Contenu connexe

En vedette

Vademecum_it
Vademecum_itVademecum_it
Vademecum_it
Italoblog
 
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 Digitale
Italoblog
 
Prezentacia matousek
Prezentacia matousekPrezentacia matousek
Prezentacia matousek
Italoblog
 
Franco mosconi
Franco mosconiFranco mosconi
Franco mosconi
Italoblog
 
Tsok may 2012 ita
Tsok may 2012 itaTsok may 2012 ita
Tsok may 2012 ita
Italoblog
 
Tsok may 2012
Tsok may 2012Tsok may 2012
Tsok may 2012
Italoblog
 
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 Internet
tteodorczyk
 
Garage gym
Garage gymGarage gym
Garage gym
tegolo
 
Lorenzo terzi 2
Lorenzo terzi 2Lorenzo terzi 2
Lorenzo terzi 2
Italoblog
 

En vedette (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
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

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...
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

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