Help to get in with my git no vs code project #160320
Replies: 5 comments 1 reply
-
A quick solution would be to use a token. Step-by-step guide to clone via HTTPS with a token Click on "Generate new token (classic)" (or "New fine-grained token") Select permissions such as: Copy the generated token and keep it safe — it will only be shown once! Clone the repository using the token: Replace with the token you generated. Example (don't use this token, it's just a template): https://token12345@github.com/pedrovitorqa/help.git |
Beta Was this translation helpful? Give feedback.
-
https://code.visualstudio.com/docs/sourcecontrol/github I've added a link to the VS Code guide to using GitHub for the first time. There's an extension you should install to make the process easier. |
Beta Was this translation helpful? Give feedback.
-
Hey! No worries, you're doing great for someone just starting out with Git. The reason you're being asked for credentials is because you're pushing to GitHub using HTTPS, which requires authentication. Here’s how to fix it step-by-step: Use GitHub CLI (Recommended for new users) In your terminal, run: "gh auth login" Follow the instructions to log in via your browser. Once logged in, run: "git push -u origin main" It should work now without asking for credentials every time. |
Beta Was this translation helpful? Give feedback.
-
These two answers are pretty good, but you can also use the Source Control VS tab. I think |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hello guys, I'm extremely new to git, I'm learning how to use still. I'm trying to use my first git project through the vs code, but he's asking me for credentials as shown in the photo, I've tried all kinds of credentials and none works, I've tried to delete existing projects too, but it didn't work. If anyone understands and can help me, I would appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions