≡ Menu

GIT

While using git, for most part, you shouldn’t be working directly on the master branch. Any development work, or hotfixes, or research work that you do, you’ll typically create a new branch, and make changes to your code on that branch. If you are happy with your code changes on your branch, then you’ll merge [...]

{ 0 comments }

One of the most powerful feature of git is its ability to create and manage branches in the most efficient way. This tutorial explains the following git branch command examples: Create a New git Branch Delete a Git branch Delete remote-tracking branches Switch to a New git Branch to Work Create a New Branch and [...]

{ 0 comments }

Sometimes when you do a git push, you might get the following permission error message. This error typically happens when multiple users are working on a particular git repository. The following git push error indicates that it doesn’t have enough permission for adding a new object to the ./objects directory under your repository. Apart from [...]

{ 1 comment }

How to Setup Git Repository and Credentials for Jenkins Jobs

Jenkins is an open source automation server, which will help you to automate the application deployment in your infrastructure. From Jenkins, for deployment, you can connect to any kind of source code control system, and pull the source, build it, and deploy it automatically to one or more servers. In this tutorial, we’ll explain how [...]

{ 9 comments }

The Git Log tool allows you to view information about previous commits that have occurred in a project. The simplest version of the log command shows the commits that lead up to the state of the currently checked out branch. These commits are shown in reverse chronological order (the most recent commits first). 1. Display [...]

{ 2 comments }

Creating a patch in GIT is a great way to share changes that you are not yet ready to push to a public branch of a project. To better understand how we will create a patch, let’s first discuss a little about how GIT stores changes. If you are new to GIT, install git and [...]

{ 4 comments }

GIT is an efficient open source distributed version control system. This article explains the following: How to install GIT on Windows How to create a local GIT repository on Windows How to connect to a remote GIT repository (that may be located on a Linux server) and download the files to work locally on your [...]

{ 12 comments }

GIT is the most versatile distributed version control system. The way GIT tracks and handles file changes is very efficient and different than how other version control software tracks the changes (including CVS and Subversion). This article is for those who are new to GIT. This is a jump-start guide that will show you how [...]

{ 25 comments }