How-to articles, tricks, and solutions about GIT DIFF

How to Compare Local and Remote Git Branches

In this tutorial, you will get useful information about the simplest way of comparing the difference between the local and remote branches step by step.

How to List All the Files in a Git Commit

The following tutorial shows two ways of formatting files in a commit. You can find a preferred and less preferred ways with the explanation in detail.

How to Move the Recent Git Commits to New or Existing Branch

This tutorial provides you with useful information about how to move the latest commits to a new or existing branch, without changing the original branch.

How to Preview a Merge in Git

This tutorial provides two solutions to the question of previewing the actual merge output in Git. Read about peculiarities of git merge and a lot more.

How to Programmatically Determine if there are Uncommitted Changes in Git

If you’re searching for a right answer to the question of programmatically determining whether there are uncommitted changes or not, check this tutorial.

How to Show the Changes which Have Been Staged in Git

Read this tutorial and know which commands are used to make it possible to show the changes which have been changed. Other methods are also discussed.