docs(git-provider): Document Get-GitRepoRegistration
- update comments for related classes and methods
This commit is contained in:
parent
5e0e4ad2be
commit
52944936ed
3 changed files with 25 additions and 0 deletions
|
|
@ -38,6 +38,19 @@ If the current directory is not in a git repo, a registration already exists by
|
|||
|
||||
`Get-GitRepoRegistration`
|
||||
|
||||
Returns all currently registered git repositories, as well as their current branch.
|
||||
|
||||
```pwsh
|
||||
PS D:/Repos/Project-a> Get-GitRepoRegistration
|
||||
|
||||
Name Location CurrentBranch
|
||||
---- -------- -------------
|
||||
test-repo D:/Repos/Project-a main
|
||||
Project-a D:/Repos/Project-a main
|
||||
```
|
||||
|
||||
The current branch is cached for 15 minutes for performance reasons so it may not be up to date if a git repo has recently had its branch changed.
|
||||
|
||||
## Show-GitRepoRegistration
|
||||
|
||||
`Show-GitRepoRegistration -Name string [-NoStack|-NoSetLocation]`
|
||||
|
|
|
|||
Loading…
Reference in a new issue