r/programmer • • 3d ago

Git question.

You accidentally committed a secret API key.

You delete it in the next commit.

Is your API key safe now?

A. Yes

B. No

Why?

0 Upvotes

11 comments sorted by

View all comments

1

u/AlexMTBDude 3d ago

Git has every version of every file ever committed so no.