Skip to content
Discussion options

You must be logged in to vote

Hey! This is a common issue, and it happens because GitHub no longer accepts account passwords for Git operations over HTTPS.

You have two main options: use a Personal Access Token (PAT) or switch to SSH.

Option 1: Use a Personal Access Token (PAT)
Instead of your GitHub password, you need to use a Personal Access Token when prompted.

Steps:

  1. Go to: https://github.com/settings/tokens

  2. Click “Generate new token” → choose "Classic" or "Fine-grained token"

  3. Add a name, set expiration, and enable scopes like:

  • 'repo' (for access to your repositories)
  1. Click Generate token and copy it (you won’t be able to see it again).

  2. Now go back to STS and clone your repo:

  • Username → your GitHu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by goldenash-aishwaryapatra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage
2 participants