push to commit lazygit
This commit is contained in:
parent
7a3bc48c57
commit
ef69f11e2a
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@ in
|
||||||
programs.lazygit = {
|
programs.lazygit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
customCommands = [{
|
||||||
|
key = "P";
|
||||||
|
context = "commits";
|
||||||
|
loadingText = "Pushing commit";
|
||||||
|
description = "Push a specific commit (and any preceding)";
|
||||||
|
stream = "yes";
|
||||||
|
command = "git push {{.SelectedRemote.Name}} {{.SelectedLocalCommit.Sha}}:{{.SelectedLocalBranch.Name}}";
|
||||||
|
}];
|
||||||
services = {
|
services = {
|
||||||
"git.zynh.me" = "gitea:git.zynh.me";
|
"git.zynh.me" = "gitea:git.zynh.me";
|
||||||
"git.nullcube.net" = "gitea:git.nullcube.net";
|
"git.nullcube.net" = "gitea:git.nullcube.net";
|
||||||
|
|
Loading…
Reference in a new issue