You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, we can use githooks to force commit msg format, so that commit is not done until its in correct specification/format.
I want to work on this, can we discuss about this.
githook will look like this in our case: .githooks/.commit-msg
if [[ $commit_msg=~ ^\[(feature|file|module)\].*#[0-9]+; thenexit 0
elseecho"$error_msg"exit 1
fi
We can do this with all other modules, Please share your thoughts
The text was updated successfully, but these errors were encountered:
@RahulPalve We already have this in openwisp-utils. Now we only want to add this in the documentation so that everyone starts using it. We already have an issue for it and contributions are welcome for that (openwisp/openwisp-docs#100).
Hey, we can use githooks to force commit msg format, so that commit is not done until its in correct specification/format.
I want to work on this, can we discuss about this.
githook will look like this in our case:
.githooks/.commit-msg
We can do this with all other modules, Please share your thoughts
The text was updated successfully, but these errors were encountered: