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
  • 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 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%%