+ All Categories
Home > Documents > Distributed Version Control

Distributed Version Control

Date post: 20-Jan-2017
Category:
Upload: anup-prakash-
View: 84 times
Download: 2 times
Share this document with a friend
22
Distributed Version Control GIT AND SALESFORCE
Transcript
Page 1: Distributed Version Control

Distributed Version ControlGIT AND SALESFORCE

Page 2: Distributed Version Control

Audience• Software Developers• Best Practice enthusiast• Someone who does not like filthy code base• Learners

Page 3: Distributed Version Control

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

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

Version Control SystemVERSION CONTROL AND EXAMPLES

Page 6: Distributed Version Control

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

Different Types of VCS• Centralized Version Control Systems• Distributed Version Control Systems

Page 8: Distributed Version Control

Centralized Version Control Systems• What is CVCS ?• When to use CVCS.• Workflow of CVCS.• Relation between Salesforce and CVCS.

Page 9: Distributed Version Control

Centralized Version Control SystemsExamples

• SVN• Perforce• CVS

Page 10: Distributed Version Control

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

Distributed Version Control SystemExamples

• Git• Mercurial

Page 12: Distributed Version Control

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

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

Implementation with Salesforce Development

Page 15: Distributed Version Control

Developer and SandboxEach developer gets his/her own Developer Sandbox

Page 16: Distributed Version Control

BranchingSprint and Features

Page 17: Distributed Version Control

Pushing and MergingCode Review and getting ready

Page 18: Distributed Version Control

Testing and DeploymentAnt Migration, Testing and Debugging.

Page 19: Distributed Version Control

UAT and Go LiveSprint Completion

Page 21: Distributed Version Control

Q&A

Page 22: Distributed Version Control

Thank You


Recommended