aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hm/soispha/conf/git/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hm/soispha/conf/git/default.nix b/hm/soispha/conf/git/default.nix
index 9fa9df44..6cd9cd0e 100644
--- a/hm/soispha/conf/git/default.nix
+++ b/hm/soispha/conf/git/default.nix
@@ -92,11 +92,16 @@ in {
remotes = "remote --verbose";
day = "!git log --stat --since '1 day ago' --author $(git config user.email)";
unpush = "push --force-with-lease origin HEAD~1:${config.programs.git.extraConfig.init.defaultBranch}";
+ wip = "!git add . && git commit --amend && git push --force-with-lease";
};
extraConfig = {
core = {
excludesFile = "${gitIgnoreFile}";
};
+ rebase = {
+ autoStash = true;
+ autoSquash = true;
+ };
init = {
defaultBranch = "prime";
};