Posts

How to Get a list of the changed files in Git

Reginald LynchAugust 14th 2021, 11:14
The same repository and HEAD position (HEAD pointing to 93da791) that we saw in the previous post will be used. The release is also the same, which is v5.8.1.202007141445-r. Step 1 : The following command lists all the files that have changed since the last release (v5.8.1.202007141445-r) git diff --name-only...
5319

How to extract fixed issues in Git

Reginald LynchAugust 14th 2021, 4:11
A common use case of creating a release is to create a release note, containing, among other things, the bugs fixed in the release. A good practice is to write in the commit message whether a bug is fixed by the commit. A better practice is to have a standard...
1256

Git is a directed acyclic graph (DAG).

Reginald LynchAugust 14th 2021, 2:56
The history in Git is formed from the commit objects; as development advances, branches are created and merged, and the history will create a directed acyclic graph, the DAG, because of the way that Git ties a commit to its parent commit. The DAG makes it easy to see the...
2680

The Three Stages Of Git

Reginald LynchAugust 14th 2021, 4:02
In this post, we'll see how to create a blob, tree, and commit object in the repository. We'll also learn about the three stages of creating a commit. Step 1 : First, we'll make a small change to the file and check git status: echo "Another line" >> text-file.txt git...
1552

What is Git Object

Reginald LynchAugust 14th 2021, 3:57
Introduction In this post, we will take a look at Git's data model The data model of Git is different from other common version control systems (VCSs) in the way Git handles its data. Traditionally, a VCS will store its data as an initial file, followed by a list of...
5434