Skip to content

Commit 60169b6

Browse files
committed
fix(template.sh): fix git directory bug
1 parent 8c2c7c0 commit 60169b6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

template.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
#!/bin/bash
22

3-
# Check in this directory git exist
4-
if [ ! -d .git ]; then
5-
echo "fatal: not a git repository (or any of the parent directories): .git"
6-
exit 1
7-
fi
8-
93
# Color formatting
104
RED="\033[0;31m"
115
GREEN="\033[0;32m"

0 commit comments

Comments
 (0)