Skip to main content

Git-GitLab-GitHub-BitBucket

An Introduction to Git-Home

Git is a distributed revision control and source code management system with an emphasis on speed...

Git - Basic Concepts

Version Control System Version Control System (VCS) is a software that helps software developers...

Git - Environment Setup

Before you can use Git, you have to install and do some basic configuration changes. Below are th...

Git - Life Cycle

In this chapter, we will discuss the life cycle of Git. In later chapters, we will cover the Git ...

Git - Create Operation

In this chapter, we will see how to create a remote Git repository; from now on, we will refer to...

Git - Clone Operation

We have a bare repository on the Git server and Tom also pushed his first version. Now, Jerry can...

Git - Perform Changes

Jerry clones the repository and decides to implement basic string operations. So he creates strin...

Git - Review Changes

After viewing the commit details, Jerry realizes that the string length cannot be negative, that’...

Git - Commit Changes

Jerry has already committed the changes and he wants to correct his last commit. In this case, gi...

Git - Push Operation

Jerry modified his last commit by using the amend operation and he is ready to push the changes. ...

Git - Update Operation

Modify Existing Function Tom performs the clone operation and finds a new file string.c. He want...

Git - Stash Operation

Suppose you are implementing a new feature for your product. Your code is in progress and suddenl...

Git - Move Operation

As the name suggests, the move operation moves a directory or a file from one location to another...

Git - Rename Operation

Till now, both Tom and Jerry were using manual commands to compile their project. Now, Jerry deci...

Git - Delete Operation

Tom updates his local repository and finds the compiled binary in the src directory. After viewin...

Git - Fix Mistakes

To err is human. So every VCS provides a feature to fix mistakes until a certain point. Git provi...

Git - Tag Operation

Tag operation allows giving meaningful names to a specific version in the repository. Suppose Tom...

Git - Patch Operation

Patch is a text file, whose contents are similar to Git diff, but along with code, it also has me...

Git - Managing Branches

Branch operation allows creating another line of development. We can use this operation to fork o...

Git - Handling Conflicts

Perform Changes in wchar_support Branch Jerry is working on the wchar_support branch. He changes...

Git - Different Platforms

GNU/Linux and Mac OS uses line-feed (LF), or new line as line ending character, while Windows use...

Git - Online Repositories

GitHub is a web-based hosting service for software development projects that uses the Git revisio...

Install self-managed GitLab Server

1. Install and configure the necessary dependencies sudo apt-get updatesudo apt-get install -y c...