Total Pageviews

Search This Blog

Copyright to Cloud TechNet organization . Powered by Blogger.

Pages

Blogger templates

Monday, 20 February 2023

How to configure environment variables for Git services in windows systems ?


 To configure environment variables for Git services in Windows systems, you can follow these steps:

  1. Open the Start menu and search for "Environment Variables".

  2. Click on "Edit the system environment variables".

  3. In the System Properties window that appears, click on the "Environment Variables" button.

  4. In the Environment Variables window, locate the "Path" variable under the "System Variables" section and click the "Edit" button.

  5. Click the "New" button and add the path to the Git installation directory, which should be something like "C:\Program Files\Git\bin".

  6. Click "OK" to close all the windows.

  7. Open a new command prompt or PowerShell window, and type "git" to verify that Git is now recognized as a command.

That's it! You have now configured the environment variables for Git in your Windows system. This will allow you to use Git commands from any directory in your system, without having to specify the full path to the Git executable every time.

0 comments:

Post a Comment