From 7eb837a068d5c1a205a8623a58ef071a0a54728f Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Mon, 29 Dec 2025 21:24:37 +0100 Subject: [PATCH] improved git flow --- modules/home/git.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/home/git.nix b/modules/home/git.nix index 2092249..49f1605 100644 --- a/modules/home/git.nix +++ b/modules/home/git.nix @@ -249,7 +249,6 @@ in # Stage all and amend to last commit fix = "!git add . && git commit --amend --no-edit"; # Stage all, amend, rebase, and force push with lease - sync = "!f() { git add . && git commit --amend --no-edit && git rebase origin/$(git rev-parse --abbrev-ref HEAD) && git push --force-with-lease; }; f"; fck = "!f() { git add . && git commit --amend --no-edit && git rebase origin/$(git rev-parse --abbrev-ref HEAD) && git push --force-with-lease; }; f"; # Stage all, commit with message, and push save = "!f() { git add --all && git commit -m \"$*\" && git push; }; f";