@@ -19,7 +19,13 @@ In this task, you will enable push rules in your repository to ensure that pushe
> For this example, we want to ensure that every commit is targeted towards an issue in the project. Having the issue ID present in the commit message ensures that all activity related to the issue is logged in the issue. To do this, we can enforce an expression to ensure every commit message contains either an epic or an issue ID.
1. In the **Require expression in commit messages**, add the regular expression: `^.*(#\d+|&\d+).*`. The regular expression will match the string based on the pattern:
1. In the **Require expression in commit messages**, add the following regular expression:
```regex
^.*(#\d+|&\d+).*
```
The regular expression will match the string based on the pattern:
- ^ - Matches the start of the string
- .* - Matches any character (except newline) zero or more times