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
protect-first-parent reports an error once you amend a commit that has already been pushed to a feature branch even though this doesn't constitute a foxtrot merge.
Protect first parent..........................................................Failed
- hook id: protect-first-parent
- exit code: 1
[ERROR] Foxtrot merge
Maybe you deleted a commit that was already pushed.
Maybe you ran "git pull" without the --rebase flag.
A possible fix is to run these commands client-side before pushing:
git fetch --all
git rebase origin/pre-commit
Check the result with "git log --graph" before pushing again.
Perhaps a distinction should be made between the default branch and other branches?
The text was updated successfully, but these errors were encountered:
protect-first-parent
reports an error once you amend a commit that has already been pushed to a feature branch even though this doesn't constitute a foxtrot merge.Perhaps a distinction should be made between the default branch and other branches?
The text was updated successfully, but these errors were encountered: