Skip to content
Related Articles

Related Articles

How to Add GIT Credentials in VSCode?

View Discussion
Improve Article
Save Article
  • Last Updated : 24 Jun, 2022
View Discussion
Improve Article
Save Article

Git is a version management system for computer files that track changes. It is commonly used in software development for source code management. It is intended to handle any form of project, large or little, with speed and efficiency. It focuses on distributed software development so that additional developers may access the source code and edit the program.

Features of Git

  • Git offers quick branching and merging, as well as tools for viewing and traversing a non-linear development history in the most efficient way feasible.
  • When compared to other version control systems, it is particularly efficient in managing huge projects and is very quick and scalable.
  • It offers high data assurance. The history is recorded in such a way that the ID of a certain version is determined by the entire development history.
  • It offers automated trash collection when a sufficient number of loose objects are produced in the repository.

Steps to add git credentials in vs code

Step 1: Download git from the official website https://git-scm.com and install it.

Downloading-git

 

Step 2: When you’re finished installing Git, start Visual Studio Code and verify that Git is now identified.

Starting-VS-Code

 

Step 3: Start a new Terminal and configure your ‘user.name’ and ‘user.email’ in git with the help of the following commands.

git config –global user.email “you@example.com”

git config –global user.name “Your Name”

Configuring-email

 

Step 4: After configuring your details, you can check by using the following command.

git config –global –list

Details-configured

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!