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

removing very old commits (including initial)

From
MRMihamina Rakotomandimby <mihamina@gulfsat.mg>
Date
Jul 28, 2010, 08:53 UTC
Message-ID
<20100728115309.08ed6fdd@packard.rktmb.org>
Manao ahoana, Hello, Bonjour,

I work on a personnal project that become a little bit bigger over the time. Initially, it was a single file one, and that file contained database credentials. Later, I splat the project and put the credentials in another untracked file (.gitignore). When I want to publish this project, the history contains the initial file, with the credentials. I dont want to publish that.

It's not a problem to definitely wipe the "single file" part of history of this project, but interesting to keep the history after the split&untracking.

How to? Publishing will be through gitweb.

Misaotra, Thanks, Merci.
-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                                    +261 34 56 000 19
Next: Ævar Arnfjörð Bjarmason
Message 1 of 3 in “removing very old commits (including initial)”
  1. Mihamina RakotomandimbyJul 28, 2010
  2. Ævar Arnfjörð BjarmasonJul 28, 2010
  3. Santi BéjarJul 28, 2010

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.