Git trunk yog dab tsi?
Git trunk yog dab tsi?

Video: Git trunk yog dab tsi?

Video: Git trunk yog dab tsi?
Video: Koj pom dab tsi? What do you see? 2024, Kaum ib hlis
Anonim

Lub cev -Based Development (TBD) yog qhov uas txhua tus neeg tsim khoom (rau ib lub chaw xa khoom tshwj xeeb) cog lus rau ib ceg koom nrog hauv kev tswj hwm. Cov ceg ntawd yuav raug hu ua lub cev , tej zaum txawm lub npe lub cev ”. Tsuas yog tso cov engineers cog lus rau cov ceg ntoo, thiab tsim txhua ceg tso tawm.

Ib yam li ntawd, tej zaum koj yuav nug, lub cev ceg yog dab tsi?

Hauv kev txhim kho software, lub cev hais txog cov tsis muaj npe ceg (version) ntawm tsob ntoo cov ntaub ntawv nyob rau hauv kev tswj xyuas. Feem ntau lub luag haujlwm tseem ceeb ntawm tus tsim tawm yuav siv qhov chaw hauv lub cev thiab ruaj khov versions yog branched, thiab qee zaus kab-kho tau merged los ntawm ceg mus rau lub cev.

Qhov thib ob, lub cev raws li kev loj hlob yog dab tsi? Code uas hla lub rooj vag yog cia li muab tso rau hauv lub lub cev ; uas tshem tawm cov teeb meem ntawm kev tswj ntau ceg. Qhov no lub cev - raws li kev loj hlob pab kom ntseeg tau tias cov cai tuaj yeem tso siab rau kev thov yam tsis tas yuav tsum tau them nyiaj code freezes lossis hardening iterations.

Tom qab ntawd, lo lus nug yog, dab tsi yog lub cev hauv lub cev raws li Devops xa?

Lub cev raws li Kev loj hlob yog ib qho kev tswj hwm lub tswv yim uas cov neeg tsim khoom cog lus lawv cov kev hloov pauv rau qhov sib koom lub cev ntawm qhov chaw code repository nrog tsawg branching. Kuj saib cov lus Thoughtworks ntawm no lub cev raws li kev loj hlob. Nws yog ib feem ntawm qhov txuas mus ntxiv kev xa khoom kev txav chaw uas ntau lub lag luam hloov mus rau.

Dab tsi yog qhov txawv ntawm lub cev ceg thiab tag hauv SVN?

Technically tag nrho peb i.e. lub cev , ceg thiab tag yog folders hauv SVN . Main qhov sib txawv ntawm ceg thiab tag nyob rau hauv subversion yog tias, tag tsuas yog nyeem cov ntawv luam ntawm qhov chaws ntawm txhua qhov chaw thiab tsis muaj kev hloov pauv ntxiv rau tag tau txais, thaum ceg feem ntau yog rau kev loj hlob.

Pom zoo: