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