DevOps Classroom notes 11/Nov/2023

Git – Distributed Version Control Systems

  • Git is a distributed version control system developed by linus torvalds
  • Pros:
    • Simplicity
  • Cons:
    • Not fast with large binary files.
  • Git is installed on all the systems
  • If you want to make any system/node to act as a server we need a daemon (service) which
    • accepts the incoming requests
    • does the user management
      Preview
  • Git is a Source Code Repository,
    • It maintains history
    • It maintains metadata

Version Control System Features

  • Version control system is a software which is a source code Repository with features such as
    • Multi-user support
    • History
    • Support for multiple releases/customers in a way to work in parallel in same repository
    • User management

Git Basic Workflow in local system

  • In Git we have 3 areas in Repository
    • Working Tree: Here we make changes
    • Staging Area: Here we move/categorize changes
    • Local Repo: Here we seal the changes for one feature/defect as a commit
      Preview

Installing Git

  • Refer Here and pickup the setup for windows
  • Linux
# for debian
sudo apt install git -y
# for redhat
sudo yum install git -y
  • Mac: Open terminal
# install homebrew
# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew install git 

lets create a repository

  • Create a folder and execute git init

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