DevOps Classroom notes 26/Aug/2025

Git

  • Git considers files not directories
  • restore comes in two forms

    • staged: to move the change from staging area to working tree
    • normal: to clear the changes from working tree
      Preview
  • Adding only modified files
git add -u
  • Adding all changes to staging area
git add -A
  • Adding only chnages w.r.t current directory
git add .
  • We want git to explicity ignore some files or folder, We use .gitignore Refer Here
  • Generally for all the popular language combinations we can generate .gitignore file
  • Prompt of the day for exploring git command options
As an experienced devops engineer, Guide me all the possible options used frequently with examples for the git command which i would enter. 

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
Animated Social Media Icons by Acurax Responsive Web Designing Company

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