aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/templates')
-rw-r--r--roles/git/templates/gitconfig.j22
-rw-r--r--roles/git/templates/no-interactive-login.j27
2 files changed, 9 insertions, 0 deletions
diff --git a/roles/git/templates/gitconfig.j2 b/roles/git/templates/gitconfig.j2
new file mode 100644
index 0000000..b9923a2
--- /dev/null
+++ b/roles/git/templates/gitconfig.j2
@@ -0,0 +1,2 @@
+[init]
+ defaultBranch = {{ git_default_branch }}
diff --git a/roles/git/templates/no-interactive-login.j2 b/roles/git/templates/no-interactive-login.j2
new file mode 100644
index 0000000..bfe6011
--- /dev/null
+++ b/roles/git/templates/no-interactive-login.j2
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cat <<EOF
+ ▍ git
+ ▍
+ ▍no-interactive-login
+EOF
remember that computers suck.