summaryrefslogtreecommitdiffhomepage
path: root/.envrc-git-init
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-12-17 19:52:01 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2023-12-17 19:52:01 -0500
commit7894f38e03e6b0b14f1ecb672bcb5e8d139a8011 (patch)
tree69bb0dc6c488801215aa73452c3a0e58e3e5c5da /.envrc-git-init
parentupdates incl. ldc-1.35.0, direnv-2.4.0 (diff)
0.14.0, spine sync
Diffstat (limited to '.envrc-git-init')
-rw-r--r--.envrc-git-init4
1 files changed, 4 insertions, 0 deletions
diff --git a/.envrc-git-init b/.envrc-git-init
new file mode 100644
index 0000000..ca74ec3
--- /dev/null
+++ b/.envrc-git-init
@@ -0,0 +1,4 @@
+if [[ ! -d ./.git ]]; then
+ git init
+ git add .
+fi