Git Operations - Hacker Tune

Latest

Stay updated with bleeding edge technology

Sunday, 26 July 2020

Git Operations

GIT is a Opensource version control system which keep track of all changes made to files and directory that helps to manage the project easily.

Git File Listing:

--> Inside .git directory

  --> HEAD        - Shows currently working branch
  --> config         - store all configuration of repository
  --> description - name of the repository
  --> hook           - directory which contains script for automation
  --> index          - file which keep track of changes in staging and HEAD
  --> info        
  --> logs            - directory contains logs of all changes
  --> objects       - directory which contains each file MD5 hashes 
  --> refs            -  directory which contains reference for branch and tags

Type of repository:

1. local repository - locally create a repo for file and directory
2. bare repository (remote) - This repo won't have working directory which mainly used for merging. eg. GitHub

No comments:

Post a Comment