Skip to content

Commit b51add3

Browse files
committed
fix(template.sh): fix decription for non git directory
When we are in a non-git folder, if we use the 'gct' command, we will also see the reason for the error.
1 parent 3bbf365 commit b51add3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Check in this directory git exist
44
if [ ! -d .git ]; then
5+
echo "fatal: not a git repository (or any of the parent directories): .git"
56
exit 1
67
fi
78

0 commit comments

Comments
 (0)