diff options
author | Ben Sima <ben@bsima.me> | 2018-05-18 14:53:21 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-05-18 14:53:21 -0700 |
commit | e194f1a407c1033696a9084225e2d24ead686727 (patch) | |
tree | c297d6a7b05615375bf7c13653baf7aca081d750 | |
parent | 2d6e0812fe9579a1ccf77f0172b3c03606f587e0 (diff) |
Add git stuff
-rw-r--r-- | git-commit-template | 9 | ||||
-rw-r--r-- | home.nix | 17 |
2 files changed, 26 insertions, 0 deletions
diff --git a/git-commit-template b/git-commit-template new file mode 100644 index 0000000..13f37b6 --- /dev/null +++ b/git-commit-template @@ -0,0 +1,9 @@ +# If applied, this commit will... + + +# Why was this change made? + + +# Any references to tickets, articles, etc? + + @@ -38,6 +38,23 @@ pkgs.youtube-dl ]; + programs.git = { + enable = true; + userName = "Ben Sima"; + userEmail = "ben@bsima.me"; + extraConfig = '' +[push] + default = simple +[branch "master] + remote = upstream + merge = refs/heads/master +[remote] + pushDefault = origin +[commit] + template = ~/.config/nixpkgs/git-commit-template + ''; + }; + programs.bash = { enable = true; shellAliases = { |