11.01.2023 Views

Apostila_de_Programacao

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

¼ º½½º ÍÅ ÁÊÅ ÇÅ ÇË ÇÅÆÇË Ç ÎË

init{inicializa cvs}

cvs import -m "msg" path_no_rep

Proj

nomerelease nometag

Proj

+a1,a2

+a1,a2

Proj

+a1,a2

Proj

+a1,a3

cvs co nomeProjeto

[modulo,ramo]

{carrega todo projeto} Proj

+a1,a2

alterações

cvs add -m msg arq3

cvs rm -m msg arq2

cvs commit

{Com add,rm agenda adicao,

remocao. Com commit executa}

Repositorio

Proj

+a1

+a3

arq1

arq2

Proj-R2

+a1

+a3

+a4

cvs dif arq1

{diferencas arq1 local e rep}

arq1

arq1_diff

cvs update -p -r numRelease

arq2 > arq2

{recupera arq antigo}

arq2

Proj

cvs tag -b nomeRamo+a1

{cria ramo R2} +a3

+a4

Proj

+a1,a3mod

cvs co

[outro usuario]

cvs commit

Proj

+a1,a3mod

ProjR2

+a1

+a3

+a4

cvs co nomeRamo

{carrega todo ramo}

ProjR2

+a1

+a3

+a4

Proj

+a1,a3mod

Legenda:

comandos

{informações}

[observação]

->direcao arquivos

rep->repositorio

proj->NomeProjeto

a1,a2..->Arquivos

cvs update -d

{atualiza projeto}

Proj

+a1,a3mod

ProjR2

+a1

+a3

+a4

Repositório

cvs co Proj

{carrega p projeto}

+a1

cvs update -r ProjR2 +a3

{mescla Proj e ProjR2} +a4

cvs status

-v->mostra tags

-r recursivo

-l este diretorio

checout=co=get

commit=ci=com

update=up

Proj

+a1,a3mod

ProjR2

ÙÖ º ÖÑ ÓÑ Ó× ÓÑÒÓ× Ó Ú׺

ÒÖ ÙÖØ ÙÒÓ ¹ ÛÛÛºÐÑÔغÙ׺Ö

ÔÓ×ØÐ ÈÖÓÖÑÓ Ñ ··

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!