DevOps Classroom notes 25/Mar/2025

Branches

  • Bringing the changes from one branch to another

    • Merging
    • Rebase
    • Cherry-pick (specific commits not complete branch)
  • Refer Here for merge documentation

Lab Setup

  • I have create a local repo to simulate the below graph
    Preview

Merge Instructions

  • Always check out to destination branch (branch which wants changes)
git checkout <destination-branch-name>
  • Execute the command to merge from the source branch (branch from which changes are requrired)
git merge <source-branch>

Fast Forward Merge

  • Overview
    Preview
  • Commands
    Preview

Merge (Standard)

  • Overview
    Preview
  • use the same commands

Rebase

  • Overview
    Preview
  • Refer Here for docs.
  • Commands:

    • checkout to destination or target branch git checkout <destination-branch-name>
    • rebase from source branch git rebase <source-branch>
      Preview

Merge-conflicts

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube