DEV Community

Awan
Awan

Posted on

Cara memperbaiki commit git yang terlanjur commited

error: remote unpack failed: error VS403702: The push was rejected because one or more commits contain author email '1878631-awanz@users.noreply.gitlab.com' which does not match the policy-specified patterns.

Pertama ubah dulu email di config
git config user.email yournewemail@example.org

Lalu bisa melakukan reset author dengan memilih command dibawah

git commit --amend --reset-author

git commit --amend --reset-author --no-edit

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more