Skip to content

Commit adde276

Browse files
committed
Configure git template dir on heroku
1 parent c318356 commit adde276

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/pre_compile

100644100755
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#!/usr/bin/env bash
22

3-
mkdir -p /usr/share/git-core/templates
3+
TEMPLATE_DIR="/app/.apt/usr/share/git-core/templates"
4+
5+
echo "Setting git config init.templateDir = $TEMPLATE_DIR"
6+
git config --global init.templateDir "$TEMPLATE_DIR"

0 commit comments

Comments
 (0)