diff options
author | Matt Turner <mattst88@framework.mattst88.com> | 2023-03-06 11:12:20 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2023-03-06 11:18:37 -0500 |
commit | 01204fff758637398ce3a9d2b6ca20038016e45b (patch) | |
tree | ec1e65f28390437a4c6a07cbf6a507304cc1bd8d /git | |
parent | e83765747e2f4411189dbae392b5e197fdf8744b (diff) |
Rearrange for better usage with GNU stow
Diffstat (limited to 'git')
-rw-r--r-- | git/.gitconfig | 28 | ||||
-rw-r--r-- | git/.global_ignore | 1 | ||||
-rw-r--r-- | git/projects/gentoo/.gitconfig | 12 |
3 files changed, 41 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..c35f941 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,28 @@ +[user] + email = mattst88@gmail.com + name = Matt Turner + signingkey = 0xACEB29740C9A4E97 +[includeIf "gitdir:~/projects/gentoo/"] + path = ~/projects/gentoo/.gitconfig +[color] + ui = auto +[rebase] + autosquash = true +[core] + excludesfile = /home/mattst88/.global_ignore + autocrlf = false + filemode = false + pager = less -+F +[diff] + renames = true +[push] + default = simple +[alias] + fixes = show -s --pretty='format:Fixes: %h (\"%s\")' + co = checkout + br = branch + shwo = show + grpe = grep + lgo = log +[init] + defaultBranch = main diff --git a/git/.global_ignore b/git/.global_ignore new file mode 100644 index 0000000..6e92f57 --- /dev/null +++ b/git/.global_ignore @@ -0,0 +1 @@ +tags diff --git a/git/projects/gentoo/.gitconfig b/git/projects/gentoo/.gitconfig new file mode 100644 index 0000000..79cffde --- /dev/null +++ b/git/projects/gentoo/.gitconfig @@ -0,0 +1,12 @@ +[user] + email = mattst88@gentoo.org +[pull] + ff = only + rebase = merges +[push] + default = simple + gpgsign = if-asked +[commit] + gpgsign = 1 +[sendemail] + to = gentoo-dev@lists.gentoo.org |