commit | 1196d743b490d1bc35addb5569e7705329dc3194 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Wed Aug 03 14:07:13 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Wed Aug 03 14:07:13 2022 +0100 |
tree | 8551bb42e0cba60aa8d985c1288ec54417cdea24 | |
parent | 378030001a4ce6704a1cd9064964c17c730d5a7d [diff] |
Add a git recommit alias (https://stackoverflow.com/a/57218983/12293760)
diff --git a/src/apps/personal/git.nix b/src/apps/personal/git.nix index 0422237..cd27987 100644 --- a/src/apps/personal/git.nix +++ b/src/apps/personal/git.nix
@@ -14,6 +14,10 @@ lfs.enable = true; delta.enable = true; + aliases = { + recommit = "!git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG"; + }; + extraConfig = { init.defaultBranch = "development"; color.ui = "auto";