SlideShare una empresa de Scribd logo
1 de 47
getlatestversion.it
Alkampfer@Nablasoft.com
http://www.codewrecks.com
http://blogs.ugidotnet.org/rgm
http://www.getlatestversion.it
Git
TFVC
SVN
Source
Safe
Hg
TFS 2013
VSO
Github
Codeplex
BitBucket
demo
Il mio primo repository Git e Visual Studio
2ab56.. ae14f.. 24d36.. 3abe5..
Foo.txt
Bar.txt
42.cs
Ptr.vcproj
Foo.txt
Bar.txt
42.cs
Ptr.vcproj
Foo.txt
Bar.txt
42.cs
Ptr.vcproj
Foo.txt
Bar.txt
42.cs
Ptr.vcproj
ID = SHA1
Bar.txt
42.cs
Foo.txt
Ptr.vcproj
Foo.txt
Bar.txt
802992c ab352fc b426dca 364ba23
802992c ab352fc b426dca
Modifiche
locali Staging Area
a536dbc
Capitan Ovvio
802992c ab352fc b426dca a536dbc
802992c ab352fc b426dca a536dbc
802992c ab352fc b426dca a536dbc
Capitan Ovvio
802992c ab352fc b426dca
Modifiche
locali Staging Area
a536dbc
masterHEAD test
802992c ab352fc b426dca
Modifiche
locali Staging Area
a536dbc
master HEAD test
abd34ea
testmaster
802992c ab352fc B426dca
abd34ea
a536dbc
test
HEADmaster
Git richiede
un cambio di mentalità
Always leave the campground
Cleaner than you found it
Tutti i repository sono
paritari
Nello scenario più semplice
un repository è considerato
il Principale
Fase 1) Impostare il remote
«origin»
Fase 2) creare i remote
tracking per le branch remote Fase 3) crea e fa il checkout
della branch attiva di origin
802992c ab352fc B426dca 12ab456
802992c ab352fc B426dca ef3456
Gli sviluppatori hanno
aggiornato la master al
b426dca Ognuno ha fatto una
modifica
master
master
802992c ab352fc B426dca 12ab456
802992c ab352fc B426dca ef3456
802992c ab352fc B426dca
Inviare le
modifiche
all’origin significa
spostare i commit
binari
ef3456
master
master
master
802992c ab352fc B426dca 12ab456
802992c ab352fc B426dca ef3456
802992c ab352fc B426dca ef3456
Non potete inviare
modifiche se i grafi
sono incompatibili
12ab456
master
802992c ab352fc B426dca
12ab456
ef3456
802992c ab352fc B426dca ef3456
master
origin/master
master
802992c ab352fc B426dca
12ab456
ef3456
802992c ab352fc B426dca ef3456
master
origin/master
fe34bd
master
802992c ab352fc B426dca
Ef3456
802992c ab352fc B426dca
12ab456
Ef3456
master
origin/master
master
fe34bdfe34bd
12ab456
802992c ab352fc B426dca
12ab456
ef3456
802992c ab352fc B426dca ef3456
master
origin/master
master
and rebase
802992c ab352fc B426dca
12ab456
ef3456
802992c ab352fc B426dca ef3456
master
origin/master
maste
r
12ab456
eb54af2
TFVC
Team Foundation Server / Service
Team Project
Git Git
WI
Buil
d
…
Power
Tools 3rd party
Local
Repo
Remote
Remote
SVN
Git
Svn
Git Tf TFVC
Git si o Git No
Git si o Git No
Git si o Git No

Más contenido relacionado

Más de Gian Maria Ricci

Automatically deployment to Azure Web Sites
Automatically deployment to Azure Web SitesAutomatically deployment to Azure Web Sites
Automatically deployment to Azure Web Sites
Gian Maria Ricci
 
Porfolio Management in TFS 2013
Porfolio Management in TFS 2013Porfolio Management in TFS 2013
Porfolio Management in TFS 2013
Gian Maria Ricci
 

Más de Gian Maria Ricci (20)

Migrare da un VCS centralizzato a Git
Migrare da un VCS centralizzato a GitMigrare da un VCS centralizzato a Git
Migrare da un VCS centralizzato a Git
 
Real World Build + Release automation in Azure DevOps
Real World Build + Release automation in Azure DevOpsReal World Build + Release automation in Azure DevOps
Real World Build + Release automation in Azure DevOps
 
Gestire i rilasci automatici con azure devops
Gestire i rilasci automatici con azure devopsGestire i rilasci automatici con azure devops
Gestire i rilasci automatici con azure devops
 
Build and release in code with azure devops pipelines
Build and release in code with azure devops pipelinesBuild and release in code with azure devops pipelines
Build and release in code with azure devops pipelines
 
Azure Pipeline in salsa yaml
Azure Pipeline in salsa yamlAzure Pipeline in salsa yaml
Azure Pipeline in salsa yaml
 
Git gitflow pull requests in devops focused teams
Git gitflow pull requests in devops focused teamsGit gitflow pull requests in devops focused teams
Git gitflow pull requests in devops focused teams
 
Distribute your code with NUget and build vNext
Distribute your code with NUget and build vNextDistribute your code with NUget and build vNext
Distribute your code with NUget and build vNext
 
Introduction to Application insights
Introduction to Application insightsIntroduction to Application insights
Introduction to Application insights
 
Git branching model
Git branching modelGit branching model
Git branching model
 
Deploy applications with TFS Build
Deploy applications with TFS BuildDeploy applications with TFS Build
Deploy applications with TFS Build
 
TFS - Quale source control
TFS - Quale source controlTFS - Quale source control
TFS - Quale source control
 
Branch model in Git
Branch model in GitBranch model in Git
Branch model in Git
 
Introduction to Visual Studio Online
Introduction to Visual Studio OnlineIntroduction to Visual Studio Online
Introduction to Visual Studio Online
 
Testing
TestingTesting
Testing
 
Come Organizzare il proprio Team Project
Come Organizzare il proprio Team ProjectCome Organizzare il proprio Team Project
Come Organizzare il proprio Team Project
 
Git Perchè Usarlo
Git Perchè UsarloGit Perchè Usarlo
Git Perchè Usarlo
 
Automatically deployment to Azure Web Sites
Automatically deployment to Azure Web SitesAutomatically deployment to Azure Web Sites
Automatically deployment to Azure Web Sites
 
Porfolio Management in TFS 2013
Porfolio Management in TFS 2013Porfolio Management in TFS 2013
Porfolio Management in TFS 2013
 
TFS or Team Foundation Service?
TFS or Team Foundation Service?TFS or Team Foundation Service?
TFS or Team Foundation Service?
 
Typical Developer Day
Typical Developer DayTypical Developer Day
Typical Developer Day
 

Git si o Git No