Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

GIT Architecture:

Sumit Rawal answered on May 6, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • what is git used for

  • GIT Architecture:

    0

    GIt contains 2 types of repositories:

    1) Local Repository

    2) Remote Repository

    For every developer, a separate local repository is available. Developer can perform all

    checkout and commit operations wrt local repository only.

    To perform commit operation, first he has to add files to staging area by using git add

    command, and then he has to commit those changes to the local repository by using git

    commit command. Hence commit in GIT is a 2-step process.

    commit is applicable only for staging area files but not for working directory files.

    If the developer wants to share his work to the peer developers then he has to push his

    local repository to the remote repository by using git push command.

    Remote repository contains total project code, which can be accessible by all developers.

    New developer can get local repository by cloning remote repository.For this we have to

    use git clone command.

    A developer can get updates from the remote repository to the local repository by using

    git pull command. 

    Popularity 1/10 Helpfulness 1/10 Language shell
    Source: Grepper
    Tags: git shell
    Link to this answer
    Share Copy Link
    Contributed on May 06 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.