DevOps Classroomnotes 09/Oct/2022

Fifth Area of Git

  • Git stash allows us to store changes which are currently done in working tree and staging area.
  • When developers are asked to fix critical issues and they have local changes, stash helps in storing the chnges and creates an list with index
    Preview
  • Now we can work on the changes asked commit them and when we want the chagnes stashed to be applied again we have two options
    • apply: items will be added from stash area to working tree, but stash list will still have items
    • pop: items will be added from stash area to working tree and removed from stash list
  • To perform other actions
    Preview
  • Five areas of git with the terms
    Preview

Tags

  • In Git HEAD is supposed to point at references, Git supports two reference types
    • branch
    • tag
  • The tag is the label given to a specific commit which generally indicates some milestone in project.
  • Generally all the projects try to tag the RELEASES to the customer
    Preview
  • We can tag locally and push the tags git push <remote-name> <tag-name>
    Preview
  • Tags are two types
    • lightweight tags: These contain only tag name
    • annotated tags: In this you can additional metadata
      Preview

Git Hooks

Branching Strategies

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner