Cov txheej txheem:

Koj ua li cas rub cov lus thov?
Koj ua li cas rub cov lus thov?

Video: Koj ua li cas rub cov lus thov?

Video: Koj ua li cas rub cov lus thov?
Video: UA KAWG PEEV XWM -May maylee [official] New Song/MV/VDO 2024, Kaum ib hlis
Anonim

Yuav ua li cas tuav Github Rub Thov Zoo Li Tus Thawj Coj

  1. Siv Github Rub Thov UI ua ua ke lub commits rau tus tswv ceg.
  2. Siv git hauv kab hais kom ua ntxiv rau qhov siv rau Rub Thov ceg raws li ib tug tej thaj chaw deb zos (git tej thaj chaw deb ntxiv), nqa lub Rub Thov ceg los ntawm tej thaj chaw deb ntawd thiab ces ua ke lub commits rau tus tswv ceg.

Ib yam li ntawd, rub kev thov ua haujlwm li cas?

Rub cov lus thov cia koj qhia lwm tus txog kev hloov pauv uas koj tau thawb mus rau ib ceg hauv qhov chaw cia khoom ntawm GitHub. Ib zaug ib rub thov qhib, koj tuaj yeem sib tham thiab tshuaj xyuas cov kev hloov pauv uas muaj peev xwm nrog cov neeg koom tes thiab ntxiv cov lus cog tseg ua ntej koj cov kev hloov pauv tau muab tso rau hauv lub hauv paus ceg.

Ib yam li ntawd, kuv yuav hloov pauv li cas tom qab kev thov rub? Yuav ua li cas kho qhov kev cog lus ntawm GitHub Pull Request

  1. Ntxiv lwm qhov kev cog lus rau ceg no thiab tom qab ntawd thawb mus rau ceg no.
  2. Manually kho koj cov kev hloov pauv, hloov kho, thiab quab yuam thawb.
  3. Ntxiv lwm qhov kev cog lus, thiab tom qab ntawd squash commits.
  4. Sib tham sib txheeb xyuas qhov kev cog lus dhau los, tshem tawm cov kab uas tsis xav tau, theem, hloov kho, thiab quab yuam thawb.
  5. Sib tham sib rebase.

Hauv qhov no, koj sau dab tsi hauv kev thov rub?

Thaum Sau Daim Ntawv Thov Zoo Tshaj Plaws

  1. Tsis txhob ua rau kuv xav.
  2. Qhov teeb meem yog dab tsi?
  3. Lub peev xwm tseem ceeb tshaj plaws ntawm tus tsim tawm: tso nws tus kheej hauv cov khau ntawm lwm tus.
  4. Tshem tawm txoj kev.
  5. Piav qhov teeb meem.
  6. Muab cov ntsiab lus.
  7. Muab qhov chaw pib thiab ib txoj hauv kev.
  8. Muab cov peev txheej pom.

Vim li cas rub kev thov yog qhov tseem ceeb?

Rub cov lus thov yog tseem ceeb vim tias lawv pab xyuas kom meej tias cov lej tshuaj xyuas zoo tau muab tso rau hauv GitHub repositories. Yog tsis muaj PRs, ntxhov siab thiab tsis meej pem code tuaj yeem yooj yim khiav tawm hauv lub hauv paus code. Cov ntsiab lus rub thov tso cai rau cov neeg tsim khoom los xyuas kom zoo thiab nrawm ua ke code rau hauv master.

Pom zoo: