BlackDiamond Studio | Mobilize.Net
  • BlackDiamond Studio Documentation
    • Introduction
    • BDS Portal
      • Sign Up
      • Sign In
      • Reset Password and Multifactor Authentication
      • User Interface
      • Projects List
        • Navigating the Projects List
      • Creating my first project
        • 1. What do you want to do?
        • 2. Name Project
        • 3. Set up Repository
        • 4. Connect to Snowflake
        • 5. Code
          • 1. Select a Template
          • 2. Extract DDL from Snowflake Account
          • 3. Upload my source code
            • Folder Names Not Allowed
      • Project Summary Page
      • Sharing a Project
      • Getting a Project Invite
      • Editing a Project Member's Role
      • Deleting a Project
    • Code Conversions
      • Converting SQL code to Snowflake
        • Conversion settings
      • Converting Scala code using Snowpark
      • Convert Python code using Snowpark (Coming soon)
      • Converting from the IDE
      • Conversion Errors
    • Online Code Editor
      • Running a Streamlit App
      • Writing Scala Code
      • Writing Python Code
      • Source Control (VS Code)
      • Run and Debug
      • Testing
      • Reports Explorer
      • SQL Tools
      • Snow Explorer
      • Metals (Scala)
      • Scala Notebooks
      • Contextual Menu
    • Code Insights
      • What to expect: Insight Reports
      • Language structures support
      • Scripting languages support
      • Reports Explorer
      • Storage of reports in client stage
    • Templates
      • Templates Dependencies
    • Use Cases
      • Assessment with SnowConvert
    • Submitting Bugs and Suggestions
    • Troubleshooting
      • Folder Naming
      • Cloning with GitLab
      • Third-party Cookies used in BlackDiamond Studio
    • System Requirements and Supported Browsers
    • Release Notes
  • Snowconvert Software License Agreement
Powered by GitBook
On this page
  • With SSH
  • With HTTPS
  1. BlackDiamond Studio Documentation
  2. Troubleshooting

Cloning with GitLab

PreviousFolder NamingNextThird-party Cookies used in BlackDiamond Studio

Last updated 2 years ago

In addition to being able to work with your projects on the IDE, you can also clone their repositories locally on your own machine with GitLab.

Once you set up your Snowflake DW or Conversion Project, click the "OPEN REPOSITORY" button. It will redirect to your project's GitLab repository. From there, you can choose to clone your repository either with SSH or HTTPS.

With SSH

You can follow the instructions in the GitLab documentation to normally. Other actions such as pushing can be done with your SSH as well.

With HTTPS

To clone with HTTPS, you must use a GitLab . Without it, your cloning attempt will result in a failed authentication error.

  1. First, you need to for your GitLab account. Be sure to remember it or store it somewhere safe.

  2. Go to your project's repository page and select Clone. Then, copy the URL for Clone with HTTPS.

  3. Open a terminal on the directory where you want to clone the project, and run the following command, replacing the URL with the one that you copied from your repository: git clone https://gitlab.com/sample-user/sample-https.git

  4. GitLab will prompt you for your username and password. You can input your username normally, but you must use your personal access token instead of your account's password, else your authentication will fail.

  5. Your project will be cloned to your machine. Be sure to keep using your personal access token every time GitLab asks for your credentials.

Clone with SSH
Personal Access Token
create a personal access token