Is Squash Commits Good Over Regular Merge Commits?

Is Squash Commits Good Over Regular Merge Commits?

‘Merge commits’ and ‘Squash Commits’ both commands has its own advantages and disadvantages. Personally, I use both commands. I don’t have any strong opinion to support only one command as a best command. Both of them are useful for me :). In this article, I will explain how and when I am using the “Merge commits” and “Squash Commits” based on situation. Squash Commits Sometimes you might be working in a feature which has many commits, and you don’t want to maintain the history of all the commits at that time you can use “Squash Commits”....

December 28, 2022 · 5 min · 1010 words · Prakash Bhandari
How to Embed GitHub Code Snippets in Hugo Template Blog Posts?

How to Embed GitHub Code Snippets in Hugo Template Blog Posts?

In this post, I am going to show you how to embed GitHub code snippets in the Hugo Template blog post in 5 simple steps. In Hugo Template, we enclose code snippet inside backtick ``` Generally, it doesn’t highlight the syntax based on what programming language the snippet/code is written in. GitHub Gist code snippets helps us to embed pre-formatted code in markdown. It’s best and simplest way to embed pre-formatted code in markdown....

December 5, 2022 · 2 min · 362 words · Prakash Bhandari
Branching Strategy for Big Feature

Branching Strategy for Big Feature

In a single repository, many developers are developing new features or fixing bugs. Some features are small and some of them are big. Small features can be developed, reviewed, and released quickly. But, big features can not be completed quickly and also it’s not a good idea to create a really big pull request (PR). It’s a crazy idea to push the Work In Progress(WIP) feature to the main branch and it may probably get deployed to production....

November 29, 2022 · 3 min · 631 words · Prakash Bhandari
Code Review in Software Development Process

Code Review in Software Development Process

In the Software Development process, code review is one of the major processes. It plays a vital role in developing quality software and reducing human errors. This article highlights the significance of code review and tries to answer ...

September 8, 2020 · 6 min · 1207 words · Prakash Bhandari