DevOps Classroomnotes 28/Apr/2022

How Git Works (Local Repo) Contd..

  • To understand how git works we will be using some plumbing commands of git.
git cat-file -t <id> # to know the type
git cat-file -p <id> # to know the contents
  • Lets identify the type and contents of commit (master branch)
    Preview
  • contents of commit

    • tree:
      • This represents your directory (working tree)
      • tree => directory, blob => file
    • parent
    • author
    • commiter
    • message
  • Download the qtecommerce zip file Refer Here and see all the branches and history
  • checkout to master, rel_tata_v1.0, rel_wipro_v1.0
  • We have done one change in the master branch which is not in the other branches
    Preview

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