This guide shows you how to use Personal Access Tokens to authenticate CUEBES repositories in Visual Studio Code.
Method 1: Clone via Command Palette
Step 1: Open Command Palette
Press Cmd + Shift + P (macOS) or Ctrl + Shift + P (Windows/Linux).
Step 2: Clone Repository
Type "Git: Clone" and select it.
Step 3: Enter Repository URL
Enter your CUEBES repository URL:
https://cuebes.com/username/repository-name.git
Step 4: Authenticate
VS Code will prompt for credentials:
- Username: Your CUEBES username
- Password: Your Personal Access Token
Method 2: Clone via Terminal
Step 1: Open Integrated Terminal
Press Ctrl + ` or go to View > Terminal.
Step 2: Clone the Repository
git clone https://cuebes.com/username/repository-name.git
Step 3: Authenticate When Prompted
Enter your username and Personal Access Token when asked.
Method 3: Include Credentials in URL
For quick access (less secure - use for testing only):
git clone https://username:TOKEN@cuebes.com/username/repository-name.git
Warning: Including tokens in URLs is not recommended for production use as they may be logged in shell history.
Saving Credentials
Use Git Credential Manager
VS Code uses your system's Git installation. Configure credential storage:
macOS
git config --global credential.helper osxkeychain
Windows
git config --global credential.helper manager
Linux
git config --global credential.helper store
Pushing Changes
Using Source Control Panel
- Click the Source Control icon in the sidebar (or press
Ctrl + Shift + G) - Stage your changes by clicking "+"
- Enter a commit message
- Click the checkmark to commit
- Click "..." and select "Push"
Using Terminal
git add .
git commit -m "Your commit message"
git push
Troubleshooting
Authentication Failed
- Make sure you're using your Personal Access Token, not your password
- Check that the token has "Write" permission for pushing
- Verify the token hasn't expired
Clear Cached Credentials
macOS
git credential-osxkeychain erase
host=cuebes.com
protocol=https
[Press Enter twice]
Windows
Open "Credential Manager" in Windows Settings and remove the CUEBES entry.
VS Code Git Extension Issues
If the built-in Git doesn't work:
- Ensure Git is installed:
git --version - Check VS Code settings:
"git.path"should point to your Git installation - Try restarting VS Code