Add "Pushing a specific commit"

Daniel Franklin 2022-10-05 15:58:49 -07:00
parent 6a0b6dfc8a
commit 110786b903

@ -48,6 +48,20 @@ customCommands:
command: "git push origin {{index .PromptResponses 0}}"
```
## Pushing a specific commit
Pushes a specific commit, and any preceding commits. Useful if you're still working on the latest commit but you have earlier commits ready to push.
```yml
customCommands:
- key: 'P'
command: "git push {{.SelectedRemote.RefName}} {{.SelectedLocalCommit.Sha}}:{{.SelectedLocalBranch.RefName}}"
context: "commits"
loadingText: "Pushing commit..."
description: "Push a specific commit (and any preceding)"
stream: yes
```
## Creating an annotated tag
```yml