push to commit lazygit
parent
7a3bc48c57
commit
ef69f11e2a
|
@ -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 New Issue