Summary Files Commits Branches @commit @diff
path: root /.a /toggle-repo.sh
diff options
context:
space:
mode:
1 files changed, 7 insertions, 0 deletions
-rwxr-xr-x.a/toggle-repo.sh 7
diff --git a/.a/toggle-repo.sh b/.a/toggle-repo.sh
new file mode 100755
index 0000000..ffbcb57
--- /dev/null
+++ b/.a/toggle-repo.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [[ -d ".git" ]]; then
+ sudo mv .git .git.disabled
+else
+ sudo mv .git.disabled .git
+fi