DevOps Classroomnotes 21/Apr/2022

Learning Git

  • Approach
    • We will Start Git by Working on one-system
      • Git features
      • How it tracks
      • How Git Works
      • etc…
    • We will be using git completely from command line.
    • Then we will add Distributed VCS (GitHub/Azure Source Repos/Code Commit)
    • How organizations use Git for their product lines

Getting Started with Git

  • Working with local repository:
    • Create an intitial repository
      • We would require empty folder/directory
      • Then initialize with git command

    • Make changes and query status
    • Add changes to index/staging area
    • Once we commit the changes the history will be maintained, To maintain history git requires
      • commiter emailid
      • commiter name
      • commit message
      • date time
    • Let configure the commiter email id and username (Once at a system level)
    • commit messsage is provided during commit and date time will be picked by git automatically

  • Few Areas of git relavent to local repo
  • Lets modify the file and create a second commit

  • For using git commands refer cheatsheet of your choice
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
Customized Social Media Icons from Acurax Digital Marketing Agency
Exit mobile version
%%footer%%