Skip to content

Commit

Permalink
Update pre-push
Browse files Browse the repository at this point in the history
Test merging bugfix branch to main
  • Loading branch information
fanlit authored Oct 31, 2023
1 parent 7a7ec44 commit 18685d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "main" ]; then
echo "You can't commit directly to main branch"
exit 1
fi
#if [ "$branch" = "main" ]; then
# echo "You can't commit directly to main branch"
# exit 1
#fi

0 comments on commit 18685d3

Please sign in to comment.