Skip to content

Commit

Permalink
feat: git checkout -Detach ( Fixes #268 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Apr 16, 2024
1 parent 7095c0d commit d0856ee
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/Git.Checkout.Input-Extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,16 @@ The name of a branch to reset.
|----------|--------|--------|---------------------|---------------------|
|`[String]`|false |named |true (ByPropertyName)|Reset<br/>ResetBranch|

#### **Detach**
If set, will checkout a branch in a detached state.

|Type |Required|Position|PipelineInput|
|----------|--------|--------|-------------|
|`[Switch]`|false |named |false |

---

### Syntax
```PowerShell
Extensions/Git.Checkout.Input.Ugit.Extension.ps1 [-BranchName <String>] [-PullRequest <Int32>] [-NewBranchName <String>] [-ResetBranchName <String>] [<CommonParameters>]
Extensions/Git.Checkout.Input.Ugit.Extension.ps1 [-BranchName <String>] [-PullRequest <Int32>] [-NewBranchName <String>] [-ResetBranchName <String>] [-Detach] [<CommonParameters>]
```

0 comments on commit d0856ee

Please sign in to comment.