Clone Repository

Learn how to clone repositories from Outpost Hub.

After creating a repository, you can either work directly in the Outpost repository UI or clone your repo to your local machine to use with your preferred IDE.

Cloning Over HTTPS

1
Access the Repository
  • In Outpost, navigate to the repository you want to clone.
  • Go to Files & Versions and select Code.
2
Generate Clone Credentials (First Time Only)
  • If you’re cloning this repository for the first time, click Generate Clone Credentials.
  • Copy the Password (API Token) provided and store it securely. These credentials are only displayed once.
  • Outpost will automatically create an API token in your user profile when you generate clone credentials.
    Treat your API tokens with the same security as passwords since they provide significant access.
3
Copy the Clone URL
  • Copy the Git clone URL from the Code dropdown menu.
  • Use this URL to clone the repository via command line or your preferred Git GUI tool.
  • You will need to provide your Outpost username and the API token when prompted.
bash
git clone https://outpost.run/YOUR-USERNAME/YOUR-REPOSITORY
4
Work locally
  • Once the repository is cloned to your local machine, you can interact with it as you would with any other Git repository: make commits, push changes, pull updates, and more.

© 2024 Outpost Innovations, Inc.