Rachel
Rachel

Reputation: 11

VS Code integration with Gitlab Enterprise

I have successfully integrated my Gitlab enterpise with VS Code, however, whenever I try to clone from my enterprise account from VS Code, I get the error below :

"Error: Field 'projects' dosen't accept argument 'searchNamespaces':{"response":[{"me..."

Upvotes: 0

Views: 723

Answers (1)

Rachel
Rachel

Reputation: 11

Figured it out.

  1. Create Token for VS Code in Gitlab Settings.

  2. Clone as follows:

    git clone https://${username}:${TOKEN}@REPO
    

Upvotes: 1

Related Questions