Tag: git

  • How To Checkout Git Tags

    How To Checkout Git Tags

    When working with Git, it is quite common for developers to create tags in order to have reference points in your development. Tags are created in order to have references to release versions for example. Furthermore, tags are Git objects meaning that they can be checked out like you would check out a branch or […]

  • How To Unstage Files on Git

    How To Unstage Files on Git

    When working with Git, it is quite common for developers to add all the files to your index in order to prepare them for commit. However, in some cases, you may want to remove files from the index, in other words, you want to unstage files. Unstaging files is very beneficial : it can be […]

  • How To Clean Up Git Branches

    How To Clean Up Git Branches

    When working with Git, it is quite usual to accumulate many different branches for the different features we are working on. However, when merged with our master branch, you may want to clean up unused branches in order for your Git workspace to be more organized. As a developer, it can be quite tiring to […]

  • How To Cherry Pick Git Commits

    How To Cherry Pick Git Commits

    When working with Git, you may want to include some specific changes into your current branch. You may want for example to introduce a specific commit located on another branch than your current branch. In order to perform this operation, you can use one useful git command : the git cherry-pick. The git cherry-pick is […]

  • How To Clear Git Cache

    How To Clear Git Cache

    When working with Git, you may want to add some new lines to your gitignore files. However, when listing the files to be committed in your staging area, you realize that some of the ignored files are still showing up. In this case, you may need to clear your Git cache. In this tutorial, we […]

  • How To Git Stash Changes

    How To Git Stash Changes

    The git stash command is probably one of the most powerful commands in Git. Git stash is used in order to save all the changes done to the current working directory and to go back to the last commit done on the branch (also called HEAD). Stashing changes comes with a special set of Git […]

  • How To Set Upstream Branch on Git

    How To Set Upstream Branch on Git

    When cloning a Git repository or creating new feature branches, you will have to set upstream branches in order to work properly. But what are upstream branches? Upstream branches are closely associated with remote branches. Upstream branches define the branch tracked on the remote repository by your local remote branch (also called the remote tracking […]

  • How To Clone a Git Repository

    How To Clone a Git Repository

    Git is by far one of the most popular version control system available for developers. Created in 2005 by Linus Torvalds, the creator of the Linux operating system, Git is built as a distributed environment enabling multiple developers and teams to work together on the same codebase. In order to start working with Git, you […]

  • How To Install Git On Debian 10 Buster

    How To Install Git On Debian 10 Buster

    This tutorial explains in details how to install Git on a Debian 10 Buster instance. Created in 2005 by Linus Torvalds, Git is by far the most commonly used distributed version control system in the world. This tool is mainly used by development teams to keep track of all the changes happening on a code […]