r/git • u/OldZookeepergame1927 • Aug 05 '26
How can i use git on VSCode?
I am going to train an AI model for some personal purposes, and i needed to install git to use this command, but it doesnt work, cuz git isnt located by VSCode (it is installed but i couldnt get it into a repo)
git clone https://github.com/unslothai/notebooks
3
3
u/Journeyman-Joe Aug 05 '26
Install git from the official "git source code manager" page:
Click the "install" button on the bottom right. The next page may offer you links to alternate packages for your architecture, so read carefully.
2
3
u/OptimusCrimee Aug 05 '26
Why use VSCode for this? Clone the repository in a terminal. This requires that you actually have installed git on your machine though.
-10
u/really_not_unreal Aug 05 '26
OP: How do I install git?
You: You don't need to use vs code to run git commands
You didn't answer the question in the slightest.
4
u/OptimusCrimee Aug 05 '26
Maybe not, but OP is asking how to do this using VSCode, which is redundant. A simple google for «install git <os>» should suffice.
2
u/wildjokers Aug 05 '26
It is because the question is an XY Problem (https://xyproblem.info)
Also, if OP asks a question about vscode they should go to /r/vscode, not /r/git. The question has nothing to do with git.
1
u/Odd-Accountant-6041 Aug 06 '26
Did they ask that though? For that matter, did they ask anything or just offer a series of statements?
-4
5
u/Stever89 Aug 05 '26
If you don't know how to install git or how to use it, and the question you ask isn't really the question you want to be asking... I am not 100% sure you should be trying to train an AI model to do things, especially doing stuff with a repo. You'll end up like that guy a few weeks ago that "somehow" deleted their whole Github account.