distributed version control
TRANSCRIPT
![Page 1: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/1.jpg)
Distributed Version ControlGIT AND SALESFORCE
![Page 2: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/2.jpg)
Audience• Software Developers• Best Practice enthusiast• Someone who does not like filthy code base• Learners
![Page 3: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/3.jpg)
What's- in-it-for me?• Knowledge of Distributed Version Control• Knowledge of Git Commands• An excellent tool (Git)• A badge of pride to have acquired a best practice
knowledge• SDLC knowledge• Endow and Execute
![Page 4: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/4.jpg)
Topics• What is VCS• Examples• What is CVCS• Examples• What is DVCS• Examples• What is Git
• Git Commands • Salesforce Development
and Git• Apache Ant• Deployment• Q&A
![Page 5: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/5.jpg)
Version Control SystemVERSION CONTROL AND EXAMPLES
![Page 6: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/6.jpg)
VCS Functionalities• Allows developers to work simultaneously• Does not allow overwriting each other’s changes.• Maintains a history of every version.• Allows rollback of code.
![Page 7: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/7.jpg)
Different Types of VCS• Centralized Version Control Systems• Distributed Version Control Systems
![Page 8: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/8.jpg)
Centralized Version Control Systems• What is CVCS ?• When to use CVCS.• Workflow of CVCS.• Relation between Salesforce and CVCS.
![Page 9: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/9.jpg)
Centralized Version Control SystemsExamples
• SVN• Perforce• CVS
![Page 10: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/10.jpg)
Distributed Version Control System• What is DVCS ?• When to use DVCS.• Workflow of DVCS.• Some Examples and business processes that use DVCS.
![Page 11: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/11.jpg)
Distributed Version Control SystemExamples
• Git• Mercurial
![Page 12: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/12.jpg)
Comparing Development with/without a DVCS powered environment.
WITH DVCS(GIT+ SALESFORCE)
• Can Perform Rollback• Developer Friendly• View Code History• Partially easy to use• Is of Industry Standard
WITHOUT DVCS(SALESFORCE DEVELOPER
CONSOLE)• Can not Perform Rollback• Not Developer Friendly• Can not View Code
History• Easy to use• Is not of Industry
Standard
![Page 13: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/13.jpg)
Git Commands• git config• git init• git clone• git add• git rm• git commit
• git push • git pull• git fetch• git reset [commit]• git log• git merge
![Page 14: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/14.jpg)
Implementation with Salesforce Development
![Page 15: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/15.jpg)
Developer and SandboxEach developer gets his/her own Developer Sandbox
![Page 16: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/16.jpg)
BranchingSprint and Features
![Page 17: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/17.jpg)
Pushing and MergingCode Review and getting ready
![Page 18: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/18.jpg)
Testing and DeploymentAnt Migration, Testing and Debugging.
![Page 19: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/19.jpg)
UAT and Go LiveSprint Completion
![Page 20: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/20.jpg)
References
• https://git-scm.com• https://
www.tutorialspoint.com/git/git_tutorial.pdf• https://www.atlassian.com/git/tutorials/
what-is-version-control/• https://www.atlassian.com/git/tutorials/• https://en.wikipedia.org/wiki/List_of_ve
rsion_control_software• https://services.github.com/kit/downlo
ads/github-git-cheat-sheet.pdf
![Page 21: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/21.jpg)
Q&A
![Page 22: Distributed Version Control](https://reader034.vdocuments.site/reader034/viewer/2022042604/58819be51a28ab0d358b79e1/html5/thumbnails/22.jpg)
Thank You