git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Help before pushing to remote repo.

From
RCRalph Churchill <mrchucho@yahoo.com>
Date
Jun 6, 2008, 23:13 UTC
Message-ID
<351720.25873.qm@web30503.mail.mud.yahoo.com>
I have a file that contains a "secret" key value. I unwittingly committed two commits to my local repository that contained the value. Is there anything I can do to prevent the value from making it to the version(s) visible in the remote repository? I don't know if I can "edit" the commits or change the history of the file.
I'm using github for the remote repo. and am, obviously, very new to Git.
      
Next: Eric Raible
Message 1 of 2 in “Help before pushing to remote repo.”
  1. Ralph ChurchillJun 6, 2008
  2. Eric RaibleJun 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.