Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.06 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.06 KB

Azure DevOps Repos in Codespaces

Script to create GitHub Codespace out of any Azure DevOps repo.

Use

  1. Create a repo from this template, change the environment variables in the devcontainer.json:
  • $ADO_REPO_URL - ADO repo URL to create the codespace with
  • $ADO_REPO_DEFAULT_PATH - the default workspace folder for the Codespace (analog of workspaceFolder from devcontainer spec)
  • feel free to define any other settings inside the file
  1. Create a Codespace and run ./init in the terminal.
  2. Follow interactive script to specify your ADO username and PAT.
  3. Apply the devcontainer configuration from your repository by opening the Command Palette (Shift + Command + P/ Ctrl + Shift + P) and selecting Codespaces: Rebuild Container.

Issues/Feedback

  • Feedback appreciated, create issues on this repo if anything 🤗