así que empujé un ouath key file
a mi twig git desde mi copy local. ¿Cómo sobrescribo commits en git para eliminar el oauth key file
?
intenté hacer
git rm cache /storage/oauth.key
e hizo un git add, git commit, git push en mi branch pero el file aún está allí.
También intenté
git revert commitID
pero obtuvo un error
error: commit 5ac87ad863059396jkljkljlkjce4c64 is a merge but no -m option was given. fatal: revert failed
por favor aconséjame.
tratar
git rm --cached storage/oauth.key
luego agrega tu file de key oauth eliminado en el escenario, confirma y presiona.
Esto debe eliminar el file de key de su repository remoto.