![Git debian install](https://cdn1.cdnme.se/5447227/9-3/24_64e61dfd9606ee7f8b257167.png)
The staging area is nothing but a hold stage where the program is kept before coming to the final project.Ĭomming your file from the staging area. Now we can see clearly that the file is added to git. There is no file created yet, and git code committed. Git status can be checked by following the command. git directory is created under /newgit folder. Now, this folder is initiated for the git project.Ī new. Make this folder a new git repo for your project. Now installation part is over, let’s see how to configure git basic commands. # git config -global -editĪmend your settings here. One more command can be used to define parameters. The file is stored as hidden in the home directory. # git config -listĪll of the git configurations are stored under the gitconfig file. # git config -global user.email for changes updates.
![git debian install git debian install](https://linuxhint.com/wp-content/uploads/2020/07/10-27.png)
Next, git requires to set config, where you provide Name and Email id.ĭefine user name # git config -global user.name "Rajneesh Kumar"ĭefine email id. # apt install gitĬheck what version of Git is installed. Prerequisites? Basic knowledge of Linux, a Debian 11 machine, 4 GB RAM, and 40 GB storage will be sufficient. In branches, developers can develop, stage, and commit their codes. Where are developers can work on the same project or on a module/part of the project? Without affecting other team member’s work they can keep contributing.ĭevelopers can keep their work intact in form of branches. What is a version control system? Well, you can assume it as a centralized repo.
![git debian install git debian install](https://timeweb.com/ru/community/article/3e/3e6bf7d5b8d3f628edee1d378e929f29.jpg)
Git is designed for such developers who just need nothing but a straightforward version control system. Git was originally developed by Linus in 2005. How to keep control of a different version of their work? Git is the answer! it’s one of the most famous version control of today. Consider a scenario where multiple developers are working on the same project. Today we will learn how to configure Git with Debian 11.
![Git debian install](https://cdn1.cdnme.se/5447227/9-3/24_64e61dfd9606ee7f8b257167.png)