summaryrefslogtreecommitdiff
path: root/toggle_repo.sh
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-06-08 20:06:18 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-06-08 20:06:18 +0300
commitc8c7a741e2a9d1bdcdedb94e0f04d9656b2f21b6 (patch)
treeea9fe62167a0a284caa3b9f053b6048b9469d34b /toggle_repo.sh
parenta9dd7db178d806a94e76468107a72633ef4a24b3 (diff)
downloaddotfiles-c8c7a741e2a9d1bdcdedb94e0f04d9656b2f21b6.tar
dotfiles-c8c7a741e2a9d1bdcdedb94e0f04d9656b2f21b6.tar.gz
dotfiles-c8c7a741e2a9d1bdcdedb94e0f04d9656b2f21b6.zip
Added git toggle script and updated local desktop application files
Diffstat (limited to 'toggle_repo.sh')
-rwxr-xr-xtoggle_repo.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/toggle_repo.sh b/toggle_repo.sh
new file mode 100755
index 0000000..ffbcb57
--- /dev/null
+++ b/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