DEV Community

Vasudevan Tamilarasan
Vasudevan Tamilarasan

Posted on

Git Architecture & Installation

Payilagam Day - 04 - 14-Feb-2024

Topic: Git Architecutre & Installation

GIT Architecture:

=================   ============   ==========   ===========
working directory | staging area | local repo | remote repo
=================   ============   ==========   =========== 

              git add -----> git commit ---> git push 
Enter fullscreen mode Exit fullscreen mode

step 1: we need to add the files to the staging area.
step 2: then move it to the staging area.
step 3: after moving, commit the modification using git commit -m "commit message".
step 4: finnaly push it to the remote repository, hence the developers can access the code base easily with access.

Thereafter, I have installed GIT software on my Linux Mint via terminal using sudo apt install git .

After successfully installed git, i created an account in gitlab for my git learnings.

Then i create a group and an blank project inside the group.

I cloned the remote repo to my local machine using git clone .

Then i am able to see my files in local machine that i had created in my gitlab remote repo.

Top comments (0)