Cloning and Pushing

How to clone repositories and push your code

Learn how to clone CUEBES repositories to your local machine and push your changes back.

Cloning a Repository

Find the Clone URL

On your Codicle page, click the "Clone" button to see your repository URL:

https://cuebes.com/username/repository-name.git

Clone via Command Line

git clone https://cuebes.com/username/repository-name.git
cd repository-name

Clone in an IDE

Most IDEs support cloning directly:

  • Xcode: Source Control > Clone > Enter URL
  • VS Code: Command Palette > Git: Clone > Enter URL
  • JetBrains: VCS > Get from Version Control > Enter URL
Authentication: For private repositories, you'll be prompted for credentials. Use your CUEBES username and a Personal Access Token as the password.

Pushing Changes

Basic Push Workflow

# Make your changes, then:
git add .
git commit -m "Your commit message"
git push origin main

Pushing a New Branch

# Create and switch to new branch
git checkout -b feature/my-feature

# Make changes and commit
git add .
git commit -m "Add new feature"

# Push new branch to CUEBES
git push -u origin feature/my-feature

Authentication

For Public Repositories

No authentication needed to clone public repositories.

For Private Repositories

You need to authenticate to clone, pull, or push. CUEBES uses Personal Access Tokens:

  1. Go to Settings > Security tab
  2. Generate a new Personal Access Token
  3. Use your username and token when prompted

See our detailed guides for specific tools:

Common Issues

Authentication Failed

If you see "Authentication failed":

  • Make sure you're using a Personal Access Token, not your account password
  • Check that the token has the correct permissions (read for clone, write for push)
  • Verify the token hasn't expired

Permission Denied

If you can clone but can't push:

  • Ensure your token has "write" scope
  • Verify you have collaborator access to the repository