« Git - Source Control Management » : différence entre les versions

De Marijan Stajic | Wiki
Aller à la navigation Aller à la recherche
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 1 : Ligne 1 :
= Concept =
Imagine you have a company with several developers, all of whom are working on their own environments but on the same codebase. '''To avoid problems''' like when two people are working on the same file, we can use '''Git'''.
Imagine you have a company with several developers, all of whom are working on their own environments but on the same codebase. '''To avoid problems''' like when two people are working on the same file, we can use '''Git'''.


Ligne 4 : Ligne 6 :


To summarise, '''Git''' is the '''command-line tool''' used to facilitate collaboration among multiple developers, and '''GitHub''' is the '''Git-based publicly accessible repository''' where you push and find your code. With GitHub, you can share your project with others along with documentation, and people can contribute to your project as well.
To summarise, '''Git''' is the '''command-line tool''' used to facilitate collaboration among multiple developers, and '''GitHub''' is the '''Git-based publicly accessible repository''' where you push and find your code. With GitHub, you can share your project with others along with documentation, and people can contribute to your project as well.
= How to use it =
Here are some common '''command-line operations''' for using Git on a '''Linux''' shell :
First of all,

Version du 21 mars 2024 à 13:34

Concept

Imagine you have a company with several developers, all of whom are working on their own environments but on the same codebase. To avoid problems like when two people are working on the same file, we can use Git.

Git helps all developers to work on the same application simultaneously and collaborate efficiently. You can configure project organisations and define different access levels for each group and user.

To summarise, Git is the command-line tool used to facilitate collaboration among multiple developers, and GitHub is the Git-based publicly accessible repository where you push and find your code. With GitHub, you can share your project with others along with documentation, and people can contribute to your project as well.

How to use it

Here are some common command-line operations for using Git on a Linux shell :

First of all,