• Basic about Git Basic about Git
    Git is the name of a distributed version management system (Distributed Version Control System - DVCS) is one of the most popular distributed version management systems today....
  • Git environment settings Git environment settings
    Before you can use Git, you must install and make some configuration changes. Here are the steps to install Git client on Ubuntu and Centos Linux....
  • Git life cycle Git life cycle
    In this chapter, we will discuss Git's life cycle. And in the following chapter, we learn through Git commands for each activity....
  • Create activity in Git Create activity in Git
    In this chapter, we will learn how to create a remote git repository, from which we will mention it as a Git server. We need a Git server to allow the team to collaborate....
  • Clone activity in Git Clone activity in Git
    We have an empty repository on the server and Tom also pushed his first version. Now, Jerry can observe his changes. Clone operation creates a remote repository instance....
  • Make changes in Git Make changes in Git
    Jerry creates a copy of the repository on his machine and decides to perform basic operations. So he created the file string.c. After adding content, string.c will look like s...
  • Review changes in Git Review changes in Git
    After rechecking the deposit details, Jerry realizes that the string length cannot be negative, so he decides to change the type of my_strlen function....
  • Commit in Git Commit in Git
    Jerry commits (deposits) the changes and he wants to correct them for his recent commits. In this case, the function git commit -a will help do this. This function changes the...
  • Push operation in HTML Push operation in HTML
    Jerry modifies the previous commits using the git commit -a operation (signing changes) and he is ready to push the changes. Push operation saves permanent data to Git repository....
  • Update activity in Git Update activity in Git
    Tom performs the simulation operation and sees a new file string.c. He wants to know who added this file to the repository and for what purpose, so he runs the git log command....
  • Stash operation in Git Stash operation in Git
    Suppose you are implementing a new feature of your product. Your code is in progress, suddenly a visitor. Because of this, you have to go out for a few hours. You cannot commit...
  • Online Repository in Git Online Repository in Git
    GitHub is a social network for programmers for software development projects using git revision management system. It also has a standard GUI application for direct download...
  • Operating Rename in Git Operating Rename in Git
    So far, both Tom and Jerry are using manual commands to compile their projects. Now, Jerry decided to create a Makefile for the project and also put a name for the file string.c....
  • Delete operation in Git Delete operation in Git
    Tom updates the local repository and finds the compiled binary in the src directory. After observing the commit message, he realizes that this code is added by Jerry....
  • Fixed a bug in Git Fixed a bug in Git
    Being human, everyone makes mistakes. So each VCS provides a feature to fix errors at some point. Git provides a feature that we can use to undo the modifications made on the...
  • Tag operation in Git Tag operation in Git
    Tag operation allows to provide meaning names for specific versions in the repository. Suppose Tom and Jerry decide to tag them into their project code so that they can then...
  • Patch operation in Git Patch operation in Git
    The patch is a text file, its content is similar to git diff, but in parallel with the code, it also has metadata about commits such as commit IDs, dates, commit messages ... We...
  • Managing branches in Git Managing branches in Git
    Branch operations allow creating different routes of development. We can use this activity to branch the development process into two different directions. For example, we...
  • Conflict handling in Git Conflict handling in Git
    Jerry is working on the wchar_support branch. He changes the name of the feature and after checking, he repository his changes....
  • Different Platforms in Git Different Platforms in Git
    GNU / Linux and Mac OS use line-feed (LF), or a new line when line-ending characters while Windows uses line-feed combination and carriage-return (LFCR) to signify The ending of...