DevOps Classroom notes 30/Aug/2025

Merge conflict

rebase

  • rebase is the only command in git which can change history.
  • A git commit is a hash of
    • parent commit
    • message
    • datetime
    • author
    • changes
  • Refer Here for the git rebase

cherry-pick

How git is working

  • Watch classroom video

Git has two logs

  • the log which we use to understand the graph (DAG)
  • reflog: This is kind of permanent log in local git repo which maintains the list of all activities done by you.
  • usages of reflog To be discussed later

Altering history

  • Ammend commits:
    • command git commit --amend
    • This can change the commit message and add more changes from staging area to this commit where HEAD is pointed to
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%