How to use Docker for Drupal 7 Dev envirnoment
I have been using drupal 7 from a long time, and setting up a dev environment…
August 03, 2018
In previous article: Effective Git Branching Strategy, I discussed Git branching strategy and how you can follow best practices to manage your code and builds.
In this article, I will show how you can protect your git branches and restrict them by implementing the best practices.
Open your Master branch. On left hand drop down, you can see only Master branch. Start typing “stage”, and it will give you an option to create that branch. See image below:
Here, we are going to restrict our two branches: master and stage for two things:
Check on Two options: “Protect this branch”, and “Restrict who can push to this branch”, and do appropriate settings:
Click on Save changes.
Similarly do this for Stage branch.
I have been using drupal 7 from a long time, and setting up a dev environment…
While running docker commands with some images, I started getting error: The…
Problem Statement In a mysql table, I wanted to replace the hostname of the…
Introduction In this post, we will see how to theme form and its fields…
Introduction You have a view with 4-5 fields to display. Suppose, there are two…
hook_cron() suggests to put tasks that executes in shorter time or non-resource…
In this post, we will see some of the frequently used concepts/vocabulary in…
System design interview is pretty common these days, specially if you are having…
Introduction You are given an array of integers with size N, and a number K…
Graph Topological Sorting This is a well known problem in graph world…
Problem Statement Given a Binary tree, print out nodes in level order traversal…
Problem Statement Given an array nums of n integers and an integer target, are…