Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Git manually in VSCode

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

Today Xiaobian to share with you how to manually configure Git related knowledge points in VSCode, detailed content, clear logic, I believe most people still know too much about this knowledge, so share this article for everyone to refer to, I hope you have some gains after reading this article, let's learn about it together.

The computer has installed git, but when pulling code on VSCode, git cannot be found, prompting to install git.

Git installation not found

VSCode will automatically query the default address. If you can't find it, you need to manually configure the installed Git.

1) Settings

Select the Settings button in the lower left corner and select Settings

git.path

Search git.path directly in the input box

git.path

Click Edit in settings.json and enter the installation path of Git on your computer.

III. Add Path

Enter git.exe path of git.path in json file

{ "git.path": "D:/01java/Git/bin/git.exe", "workbench.iconTheme": "vscode-icons"}

Note: The path should be written in the form of "/"

The above is "VSCode how to manually configure Git" all the content of this article, thank you for reading! I believe everyone has a great harvest after reading this article. Xiaobian will update different knowledge for everyone every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report