Git

Git Add Submodule Example

In this post, we feature a comprehensive Example on Git Add Submodule. 1. Introduction An important concept in software development is reusability. When working on a software project you may have situations where a function or method is used in many places of an application. Rather than interspersing the function/method code throughout the application, it is useful to place it ...

Read More »

Git Orphan Branch Example

In this post, we present a Git Orphan Branch Example. 1. Introduction In general, when you create a new branch off branch “master” you inherit its commit history. The exception is an orphan (or disconnected) branch. An orphan branch does not have a parent-child relationship to the master branches’ commits. Most commits have one parent commit, one obvious exception being ...

Read More »

Git Generate SSH Key Example

In this post, we will demonstrate how to generate an SSH key that can be used to authenticate with a Git server. 1. Introduction The two transfer protocols that are used to access a Git server are HTTPS and SSH (short for Secure Shell). (The git and local protocols are unusable for any but the most basic development environments.) HTTPS ...

Read More »

Git Edit Commit Message Example

In this post, we present a Git Edit Commit Message Example. 1. Introduction Performing a commit operation in Git is not something to be taken lightly. Suppose we unintentionally apply the wrong commit message. Are we doomed? Fortunately, we can edit the message after the fact. In this example, we will demonstrate how to edit a commit message when the ...

Read More »

Git diff between Branches Example

In this post, we feature a comprehensive Example on Git diff between Branches. 1. Introduction Version control system (VCS) software is designed to track and manage changes in a file repository. Branching is a common operation performed with any VCS. It allows a developer (or team of developers) to work on code or documents in a repository without affecting the ...

Read More »

Git Tutorial for Beginners

1. Git What? Welcome to the Git Tutorial for Beginners. What is Git? Git is a free and open source distributed version control system. It was originally developed by Linus Torvalds, the creator of the Linux operating system. Git is fast and can handle projects of different sizes. If you have a software project, chances are you will rely on ...

Read More »

Git Instaweb Example

1. Introduction In this post, we feature a comprehensive Example on Git Instaweb. Git is a popular version control system. Git comes with a command-line utility to manage file repositories. Using the command-line utility can be cumbersome for certain tasks. Fortunately, Git comes with other tools you can use to work with your repositories. GitWeb is one of these tools. ...

Read More »

Git Handlebars Example

1. Introduction In this post, we feature a comprehensive Example on Git Handlebars. Git is a free and open source (FOSS) version control system that was originally created by Linus Torvalds to use for developing the Linux kernel. The Linux kernel being a large piece of software — with developers working on it from all over the world — had ...

Read More »

Git Download Repository Example

1. Introduction In this post, we feature a comprehensive Git Download Repository Example. Git is an open source distributed version control system designed to handle everything from small to large projects with speed and efficiency. It was first released on 12-15-2005. There are lots of Git Hosting Services available today. GitHub is one of the most popular ones. In this article, I will demonstrate ...

Read More »

Git Remote Branch Example

1. Introduction Git is an open source distributed version control system designed to handle everything from small to large projects with speed and efficiency. Three-tree architecture is the key concept. Here are the three trees: Repository tree – The place to store the committed files. It can be local or remote. The remote repository is used to track the same project but is ...

Read More »