I am collaborating with my teammates on a Project in which one of my teammate has uploaded our project on GitHub.
I want to clone the repository into my VS Code.
Here are the steps I have performed:
git clone <URL>
in which the URL is the URL that I have just copied.Screenshot 1
git status
, the output is fatal: not a git repository (or any of the parent directories): .git
as you can see at the bottom of the screenshot.May I know did I do any mistakes? What are the correct steps to rectify the issues displayed by the Terminal? Thank you.
You need to be present in the active directory in which the git repository was cloned.
cd into the downloaded directory then VS Code will automatically get updated with the current repo.
Try using extensions like Git lens and other git-related extensions that make this process easier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With