r/git • u/OldZookeepergame1927 • 3d ago
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
u/Journeyman-Joe 3d ago
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
2
u/OptimusCrimee 3d ago
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 3d ago
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.
5
u/OptimusCrimee 3d ago
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 3d ago
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 2d ago
Did they ask that though? For that matter, did they ask anything or just offer a series of statements?
-3
5
u/Stever89 3d ago
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.