DevOps Classroom notes 10/Mar/2026

Three areas of git

Changing commits

Amend commit

  • this can be used to make changes in latest commit only
  • to change commit message git commit --amend
  • To add changes to latest commit
    • move the changes to staging area
    • execute git commit --amend
  • note: HEAD expressions Give me HEAD related expressions in git with examples

Making changes in older commits

  • Prompt
you are git expert,
I am learning git and i want to understand interactive rebasing and what it does. Give me steps to create a situation and resolve using interactive rebasing. some of sample situations are
   1. typo in older commit message
   2. changes in older commit
   3. Deleting commits
   4. combining commits

Give me detailed instruction situation by situation. stop me to implement and then go to the next situation
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%