sinokrot.blogg.se

What is git bash here
What is git bash here












what is git bash here
  1. What is git bash here how to#
  2. What is git bash here full#

Let’s call the project folder simple-git-demo. In your computer, create a folder for your project. Verify if Git is installed by using the following command in the command prompt: git -version Create your local Git repository

What is git bash here how to#

This link has details on how to install Git in multiple operating systems: Rather than mentioning all the concepts at once, I will explain the concepts of Git through an example so that it is easier to follow. In such a case, the concept of branching in Git is very important. So a version control system allows developers to revert and go back to an older version of the code.įinally, sometimes several projects which are being run in parallel involve the same codebase. So a version control system like Git is needed to ensure there are no code conflicts between the developers.Īdditionally, the requirements in such projects change often. Real life projects generally have multiple developers working in parallel. Why a Version Control System like Git is needed I will explain the concept of remote and local repositories later in this article. Git is a Distributed Version Control System since the code is present in every developer’s computer.

what is git bash here

What is git bash here full#

This means that the code is not just stored in a central server, but the full copy of the code is present in all the developers’ computers.

  • Distributed Version Control System: Git has a remote repository which is stored in a server and a local repository which is stored in the computer of each developer.
  • Also, Git provides features like branches and merges, which I will be covering later. So Version Control System helps in handling this by maintaining a history of what changes have happened. Also, many developers can add code in parallel.
  • Version Control System: The code which is stored in Git keeps changing as more code is added.
  • So Git can be used to store content - it is mostly used to store code due to the other features it provides.
  • Control System: This basically means that Git is a content tracker.
  • Let me break it down and explain the wording: Git is an Open Source Distributed Version Control System.














    What is git bash here