mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Add "Pushing a specific commit"
parent
6a0b6dfc8a
commit
110786b903
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue