DevOps Classroom notes 02/Mar/2026

Git

  • Installing git:
    • Windows (Do the manual install to get the bash into terminal)
    • mac: brew install git
  • Git needs the following to be part of commit id
    • username
    • email id
  • This information can be stored in git config
  • Git configuration can be at
    • system level
    • global level (at user level)
    • local repo level (at repository level)
  • General recommendation is to set username and email at global level
  • For commands
    • –help (manual)
    • google for cheatsheets
    • prompt
  • Prompt To find a command
you are an expert in git, i'm a begineer 
I want to learn git commands, 
I will tell you the purpose, you give me the command
some examples, summarize all of that in a tabular format
  • Prompt to try command
you are an expert in git, i'm a begineer 
I want to learn git commands, I will give you the command
Create a simple and safe scenario to work on my local system to try different options and become good at command line

Configuring Git

  • The command
git config --global user.name "<your username>"
git config --global user.email "<your email>"

Create a local repository

  • Create a new folder
mkdir myfirstrepo
cd myfirstrepo
git init

Make changes in working tree and create a first commit

  • Create a first commit

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