summaryrefslogtreecommitdiff
path: root/.a/toggle-repo.sh
blob: ffbcb57d2d95b7dac3533f1588fc9d1f18c5257e (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash

if [[ -d ".git" ]]; then
	sudo mv .git .git.disabled
else
	sudo mv .git.disabled .git
fi