From 3b187c0260fc638240fac5b66629420ccdd4007e Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 17 Sep 2023 16:41:16 +0200 Subject: [PATCH] feat: enable git to auto create branches --- users/myuser/git.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/myuser/git.nix b/users/myuser/git.nix index 2999fda..314f582 100644 --- a/users/myuser/git.nix +++ b/users/myuser/git.nix @@ -12,6 +12,7 @@ merge.conflictstyle = "diff3"; mergetool.prompt = true; pull.rebase = true; + push.autoSetupRemote = true; }; aliases = { unstash = "stash pop"; @@ -30,5 +31,6 @@ ga = "git add"; gc = "git commit -v -S"; gca = "${gc} --amend"; + # TODO command to make new commit with old commit editmsg, beware worktrees have different path }; }