Git si o Git No

  • 129 views
Uploaded on

Sessione tenuta durante l'ALM Day Campania 2014

Sessione tenuta durante l'ALM Day Campania 2014

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
129
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
8
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. getlatestversion.it
  • 2. Alkampfer@Nablasoft.com http://www.codewrecks.com http://blogs.ugidotnet.org/rgm http://www.getlatestversion.it
  • 3. Git TFVC SVN Source Safe Hg TFS 2013 VSO Github Codeplex BitBucket
  • 4. demo Il mio primo repository Git e Visual Studio
  • 5. 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
  • 6. 802992c ab352fc b426dca 364ba23
  • 7. 802992c ab352fc b426dca Modifiche locali Staging Area a536dbc
  • 8. Capitan Ovvio
  • 9. 802992c ab352fc b426dca a536dbc
  • 10. 802992c ab352fc b426dca a536dbc
  • 11. 802992c ab352fc b426dca a536dbc Capitan Ovvio
  • 12. 802992c ab352fc b426dca Modifiche locali Staging Area a536dbc masterHEAD test
  • 13. 802992c ab352fc b426dca Modifiche locali Staging Area a536dbc master HEAD test abd34ea testmaster
  • 14. 802992c ab352fc B426dca abd34ea a536dbc test HEADmaster
  • 15. Git richiede un cambio di mentalità
  • 16. Always leave the campground Cleaner than you found it
  • 17. Tutti i repository sono paritari Nello scenario più semplice un repository è considerato il Principale
  • 18. 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
  • 19. 802992c ab352fc B426dca 12ab456 802992c ab352fc B426dca ef3456 Gli sviluppatori hanno aggiornato la master al b426dca Ognuno ha fatto una modifica master master
  • 20. 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
  • 21. 802992c ab352fc B426dca 12ab456 802992c ab352fc B426dca ef3456 802992c ab352fc B426dca ef3456 Non potete inviare modifiche se i grafi sono incompatibili 12ab456 master
  • 22. 802992c ab352fc B426dca 12ab456 ef3456 802992c ab352fc B426dca ef3456 master origin/master master
  • 23. 802992c ab352fc B426dca 12ab456 ef3456 802992c ab352fc B426dca ef3456 master origin/master fe34bd master
  • 24. 802992c ab352fc B426dca Ef3456 802992c ab352fc B426dca 12ab456 Ef3456 master origin/master master fe34bdfe34bd 12ab456
  • 25. 802992c ab352fc B426dca 12ab456 ef3456 802992c ab352fc B426dca ef3456 master origin/master master
  • 26. and rebase 802992c ab352fc B426dca 12ab456 ef3456 802992c ab352fc B426dca ef3456 master origin/master maste r 12ab456 eb54af2
  • 27. TFVC
  • 28. 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