Tag: git

  • How To List Git Tags

    How To List Git Tags

    On Git, tags are used in order to define commits in your history that may be more important than others. When you are performing a merge commit, right before deploying, you might want to tag this commit. This way, if you choose to go back to the previous version, you will be able to find […]

  • How To Push Git Branch To Remote

    How To Push Git Branch To Remote

    In Git, branches are commonly used in order to develop features independently from the main workflow. Git is a decentralized versioning system : as a consequence, you have local and remote branches on your repository. When you are working locally, you are committing to your local branch, but what if you wanted to share your […]

  • How To Switch Branch on Git

    How To Switch Branch on Git

    When working on a project, you are probably managing many different branches in your repository. As the number of branches grow, you may need to work on different tasks in parallel, going from one branch to another all the time. As a consequence, you may need to switch branches very frequently. In this tutorial, you […]

  • How To Amend Git Commit Message

    How To Amend Git Commit Message

    If you are familiar with Git, you are probably creating a lot of commits everyday for your projects. If you followed our previous articles on writing Git commit messages, you know how important it can be to write insightful and descriptive commit messages. However, in some cases, you probably created your commits already and you […]

  • How To Create Git Tags

    How To Create Git Tags

    As a developer, you are probably interacting with Git tags on a daily basis. Git tags are used as reference points in your development worflow. You might want to create new Git tags in order to have a reference to a given release of your software. In this tutorial, we are going to see how […]

  • How To Create a Git Branch

    How To Create a Git Branch

    As a developer, you are probably working on a project that uses Git as a version control system. When developing a new feature, you will do it separately by creating a new Git branch. Git branches are created in order to isolate specific Git commits from the rest of your main Git history. If you […]

  • How To Undo Last Git Commit

    How To Undo Last Git Commit

    If you are a web developer or a software engineer, it is very likely that you are pushing a lot of commits to your Git repository everyday. However, in some cases, you committed some files that should not be pushed to your Git repository. Sometimes, you may want to perform additional changes before issuing the […]

  • How To Add and Update Git Submodules

    How To Add and Update Git Submodules

    If you are a developer working on a large project, you are probably already familiar with the concept of Git submodules. Git submodules are most of the time used in order to incorporate another versioned project within an existing project. Submodules can be used for example in order to store third-party libraries used by your […]

  • How To Create and Apply Git Patch Files

    How To Create and Apply Git Patch Files

    If you are new to Git or to Unix systems, you might have come across Git patch files or git patch commands. Git patch files are very beneficial : they are used in order to store differences that need to be applied to a file or a group of files on your system. Git patch […]

  • How To Generate Git SSH Keys

    How To Generate Git SSH Keys

    If you have been working with Git for quite some time, you know how important it is to setup SSH authentication. SSH authentication is one of two ways of logging to your Git remote repository and pushing modifications to it. Using SSH keys with Git, you don’t have to use your password anymore. You simply […]