• Create activity in GitCreate 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 GitClone 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 GitMake 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 GitReview 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 GitCommit 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 HTMLPush 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 GitUpdate 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 GitStash 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 GitOnline 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 GitOperating 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 GitDelete 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 GitFixed 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 GitTag 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 GitPatch 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 GitManaging 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 GitConflict 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 GitDifferent 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
  • Flow control in ShellFlow control in Shell
    While writing a Shell script, there may be a situation when you need to follow an external path 2 provided. So you need to create usage of conditional commands that allow your
  • Loop in Unix / LinuxLoop in Unix / Linux
    A loop is a program that has powerful features, allowing you to repeat a set of commands. In this chapter, you will learn through practical examples of loops contained in shell
  • Control loop in Unix / LinuxControl loop in Unix / Linux
    The previous chapter has been shown how to create loops and work with them to perform various tasks. Sometimes you need to stop a loop or continue their repetitive process.