Cov txheej txheem:

Kuv yuav txav SVN code los ntawm github mus rau keeb kwm li cas?
Kuv yuav txav SVN code los ntawm github mus rau keeb kwm li cas?

Video: Kuv yuav txav SVN code los ntawm github mus rau keeb kwm li cas?

Video: Kuv yuav txav SVN code los ntawm github mus rau keeb kwm li cas?
Video: Playful Kiss - Playful Kiss: Full Episode 1 (Official & HD with subtitles) 2024, Kaum ib hlis
Anonim
  1. Kauj ruam 1: Retrieve ib daim ntawv teev SVN Siv cov npe siv. A SVN commit tsuas teev tus neeg siv lub npe.
  2. Kauj ruam 2: Match SVN usernames rau email chaw nyob.
  3. Kauj Ruam 3: Hloov chaw Rau Git Siv git - svn ua clone hais kom ua.
  4. Kauj ruam 1: Txiav txim siab cov ntaub ntawv uas loj.
  5. Kauj ruam 2: Purge cov ntaub ntawv los ntawm lub Git Keeb Kwm .

Ib yam li ib tug yuav nug, Kuv yuav ua li cas txav SVN keeb kwm mus rau Git repository tshiab?

Peb tau rhuav tshem cov txheej txheem SVN-rau-Git mus rau hauv 5 kauj ruam yooj yim:

  1. Npaj koj ib puag ncig rau kev tsiv teb tsaws chaw.
  2. Hloov lub SVN repository rau ib lub zos Git repository.
  3. Synchronize lub zos Git repository thaum SVN repository hloov.
  4. Qhia tawm Git repository nrog koj cov neeg tsim khoom ntawm Bitbucket.

Tsis tas li ntawd, kuv yuav txav li cas los ntawm GitHub? Yog tias koj xav siv GitHub GUI, koj tuaj yeem ua raws li cov kauj ruam no:

  1. Nyem qhov "+" khawm thiab xaiv "Ntxiv Lub Chaw Tso Npe Hauv Zos"
  2. Nkag mus rau cov npe nrog koj cov cai uas twb muaj lawm thiab nyem rau ntawm "Ntxiv" khawm.
  3. Tam sim no koj yuav tsum tau hais kom "Tsim ib qhov chaw tshiab Git hauv zos ntawm no" yog li nyem lub pob "Yes".

Ib yam li ntawd, tib neeg nug, Kuv yuav hloov li cas ntawm SVN rau Git?

Lawv yog cov ntawv pom zoo rau cov chaw khaws cia sib koom

  1. Rov qab tau cov npe ntawm tag nrho cov Subversion committers.
  2. Clone lub Subversion repository siv git-svn.
  3. Hloov svn: tsis quav ntsej cov khoom rau.
  4. Push repository mus rau ib tug liab qab git repository.
  5. Rename "tub" ceg rau "tus tswv"
  6. Ntxuav cov ceg thiab cov cim npe.
  7. Haus.

SVN sync nrog Git li cas?

Syncing ntawm SVN rau Git

  1. Txheeb xyuas SVN nrhiav ceg. git checkout svnsync-DEV_1_0_0_Release.
  2. Nqa cov kev hloov tshiab los ntawm SVN. git svn rov.
  3. Hloov mus rau tus tswv thiab sib koom ua ke SVN nrhiav ceg. git checkout tswv.
  4. Thawb cov kev hloov pauv rau GitHub keeb kwm tus tswv. git push origin master.

Pom zoo: