Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Git Branching

Header Image

  1. Creating a new branch
    • The article covers the basics of creating a new branch in a Git repository to make changes without affecting the main branch.
  2. Switching between branches
    • This article covers the topic of switching between branches in Git to view and edit the repository from different points in time.
  3. Merging branches
    • This article covers the process of merging two branches in Git, including why to merge, how to merge, and potential conflicts that may arise during the merge process.
  4. Rebasing branches
    • This article covers the process of rebasing a branch in Git to update it with the changes from another branch, along with its benefits and how to use it.
  5. Deleting branches
    • The article explains how to delete a branch that is no longer needed in Git, using the git branch -d or -D command, and reminds readers that deleting a branch only removes the branch reference, not the commits themselves.
  6. Listing all branches
    • This article covers how to list all branches in a Git repository using the git branch command and additional options.

Table of contents