/(?=.*\d)(?=.*[a-z])(?=.*[A-Z])^\S{6,20}$/
- Contians a digit
- Contains a lowercase letter
- Contains an upper case letter
- is between 6 and 20 non-whitespace characters in length
This is most common when using merge commits in the working branch and attempting to rebase that branch into a target branch. The solution is to either do a merge commit into the target branch, or to reqrite the history of the working copy as follows:
git checkout development
git pull
git checkout <feature branch>
git pull
git rev-list --count HEAD ^development // Provides the number of commits in the branch not in development