aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc-git-init
diff options
context:
space:
mode:
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