Category: Git

How to Git Rebase

How to Git Rebase

git rebase is a merge utility just like git merge. But the way they work is different. In this article, I will talk about how Git rebase works, the differences between Git rebase and Git merge, and how to work with Git rebase. So, let’s get started. Git Rebase: Let’s say, you have a Git…

Emacs git Integration

Emacs git Integration

How to use git in Emacs Download and config To get started using git in Emacs for version control, choose and install a chosen solution. In this article you will see the Magit mode. Many users have praised magit for it’s design. In fact, it has the power to teach you Git because it shows…

22 Essential Git Commands

22 Essential Git Commands

Git has become the quintessential version control system. The rise of Git’s popularity can be attributed to its speed, agility and versatility. Whether you are a freelancing web developer or a software designer for enterprise-level applications, you can benefit from using Git. It helps you keep track of your files through systematic versioning. Git makes…

Git Stash with Name

Git Stash with Name

How to Git Stash Your Changes with Associated Name and Find it Afterwards Developers often have to multitask. You might be working on a new feature and there might be a request to fix a bug. Or you might be the lead developer on multiple projects. When you are switching between tasks, sometimes you don’t…

Git Merge –no-ff Option

Git Merge –no-ff Option

Understanding Git Merge no-ff Option The easy merge capability of git is one of its strengths. During a merge, git uses fast-forward merge when it notices that the HEAD of the current branch is an ancestor of the commit you are trying to merge. In a fast-forward merge, there’s no new commit. Git just moves…

Git Tutorial for Beginners

Git Tutorial for Beginners

Software development is a collaborative job. As a software engineer, you need to share your work with others. But sharing code and collaborating can get complicated. It’s difficult to keep track of various changes that happen during the life-cycle of a software. So development teams rely on version control tools to help with the software…

How to Delete a Git Branch

How to Delete a Git Branch

Creating branches in Git is easy. It’s considered one of Git’s best features. However, due to the presence of remote and local repositories, deleting branches can become a little confusing. In this lesson, we will do the following: Create a remote repository Create a local copy of the remote repository Create two branches in the…

Git Branch Basics

Git Branch Basics

Basics of Git Branching The ability to easily branch is one of the best features of Git. Creating branches in other version control systems can be expensive in terms of space and processing requirements. Git branching is efficient. So users are more prone to use branches in Git. A Branching Workflow Let’s suppose you started…