Skip to content

Commit

Permalink
♻️ refactor: rename git/templates
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericrous committed Jul 12, 2021
1 parent 95b8ac2 commit 92d6588
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
path = dot_vim/bundle/vim-toml
url = https://github.com/cespare/vim-toml
[submodule "private_dot_config/git/templates"]
path = private_dot_config/git/templates
path = private_dot_config/git/git-templates
url = https://github.com/fredericrous/git-templates.git
6 changes: 4 additions & 2 deletions private_dot_config/git/config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
attributesfile = ~/.config/git/attributes
[commit]
gpgsign = true
template = ~/.config/git/templates/message
template = ~/.config/git/git-templates/templates/message
[credential]
helper = cache
[diff]
Expand All @@ -48,7 +48,7 @@
postBuffer = 157286400
[init]
defaultBranch = main
templatedir = ~/.config/git/templates
templatedir = ~/.config/git/git-templates/templates
[merge]
keepBackup = false
tool = p4merge
Expand All @@ -64,6 +64,8 @@
ff = only
[rebase]
autoStash = true
[url "[email protected]:"]
insteadOf = https://github.com/
[include]
path = alias.toml
path = style.toml
Expand Down
1 change: 1 addition & 0 deletions private_dot_config/git/git-templates
Submodule git-templates added at 51063f
2 changes: 1 addition & 1 deletion private_dot_config/git/run_after_git-hooks-setup.zsh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#/bin/zsh
chmod +x "${XDG_CONFIG_HOME:-~/.config}/git/templates/hooks/*"
chmod +x "${XDG_CONFIG_HOME:-~/.config}"/git/git-templates/templates/hooks/*
1 change: 0 additions & 1 deletion private_dot_config/git/templates
Submodule templates deleted from 7a4499

0 comments on commit 92d6588

Please sign in to comment.