Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
DevOps for Salesforce

You're reading from  DevOps for Salesforce

Product type Book
Published in Sep 2018
Publisher
ISBN-13 9781788833349
Pages 220 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Priyanka Dive Priyanka Dive
Profile icon Priyanka Dive
Nagraj Gornalli Nagraj Gornalli
Profile icon Nagraj Gornalli
View More author details

Table of Contents (14) Chapters

Title Page
Packt Upsell
Contributors
Preface
1. Salesforce Development and Delivery Process 2. Applying DevOps to Salesforce Applications 3. Deployment in Salesforce 4. Introduction to the Force.com Migration Tool 5. Version Control 6. Continuous Integration 7. Continuous Testing 8. Tracking Application Changes and the ROI of Applying DevOps to Salesforce 1. Other Books You May Enjoy Index

Branching strategy


Branching is a very useful feature provided by Git. It helps to develop multiple features in parallel. Branching can be useful to define environment specific codes such as develop, test, stage, and production. Usually, the environment to Git branch mapping will be, for example, the code for the development environment stored in the develop Git branch; for the test environment, we use the test Git branch, and so on. For the production environment, we use the master branch, as it is the first default branch created when we create any Git repository.

 

Let's see how we can create a branch using the web UI:

  1. Log in to GitLab.
  2. Go to your repository, Sample, that we created in the Creating your first project in GitLab section:
  1. As you see in this screenshot, we have only one branch which is the master, and is the default branch.
  1. Click on Branch, you will be redirected to a page where you can see all the active branches for this repository. Currently, we have a master branch:
  1. Click on...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}