diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d1683266ae80e2a07da0082a331335ca581e7732..e40d6123c300bd6fd5098cc866db729d77f12de5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -72,7 +72,7 @@ Here is a quick tip to squash all commits for a branch named `test`:
 
 ```
 git checkout test
-git reset $(git merge-base $CI_DEFAULT_BRANCH $(git rev-parse --abbrev-ref HEAD))
+git reset $(git merge-base master $(git rev-parse --abbrev-ref HEAD))
 git add -A
 git commit -m \"feat: example conventional commit\"
 git push --force