diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e79eb1445bfbdc93ee4cae62ddafe052e68c4436..2613eb43bbe72f64a48cab0e6f4e4c080476ca9d 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 master $(git rev-parse --abbrev-ref HEAD))
+git reset $(git merge-base origin/master $(git rev-parse --abbrev-ref HEAD))
 git add -A
 git commit -m "feat: example conventional commit"
 git push --force