Month: April 2018

git cherry-pick

What is git cherry-pick In git, Cherry picking means to choose a commit from one branch and apply it onto another. Basic Syntax: git cherry-pick <commit-hash> Cherry picking will merge the specify commit to your current checkout branch. When…

Read More »

Circular dependencies in Node.js

What is cyclic/ circulardependencies in nodeJs When required a module and we got {} instead. Suppose, we have the following code // moduleA.js var ModuleB = require(‘./moduleB.js’); var ModuleA = function() { this.bInstance = ModuleB(); this.property = 10;…

Read More »