Skip to content

[FEATURE] fab git connect - Connect workspace to git #173

@georgedutton

Description

@georgedutton

Use Case / Problem

To allow for git creation of branch out workspace, enable git connect commands so connect a workspace to Azure DevOps code repo. This is possible in the UI, SDK and REST API however not in fabric-cli library.

https://learn.microsoft.com/en-us/rest/api/fabric/core/git/connect?tabs=HTTP

Proposed Solution

fab git connect "dev_workspace.Workspace/.branches/featureX" \
  --remoteGitRepositoryUrl "https://dev.azure.com/myorg/myproject/_git/myrepo" \
  --remoteGitBranch "main" \
  --personalAccessToken "$AZURE_DEVOPS_PAT" \
  --repositoryType "AzureDevOps"

Alternatives Considered

Currently possible in REST APIs it seems

Impact Assessment

  • This would help me personally
  • This would help my team/organization
  • This would help the broader fabric-cli community
  • This aligns with Microsoft Fabric roadmap items

Implementation Attestation

  • I understand this feature should maintain backward compatibility with existing commands
  • I confirm this feature request does not introduce performance regressions for existing workflows
  • I acknowledge that new features must follow fabric-cli's established patterns and conventions

Implementation Notes

No response

Metadata

Metadata

Labels

enhancementNew feature or requestneeds triageThis is a new issue that needs to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions