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

Re: Rewriting history and public-private-ish branches

From
Peter Krefting <peter@softwolves.pp.se>
Date
Dec 21, 2011, 12:58 UTC
Message-ID
<alpine.DEB.2.00.1112211356480.17957@ds9.cixit.se>
In-Reply-To
<4EF08086.6080606@gmail.com>
Jay Levitt:
> As long as I'm the only one who's seen this "published" history, am I doing 
> anything bad?

I do things like that too, and as long as you know what you are doing, it usually works fine.

> Do I leave any residue behind in the repo?

As long as you run "git gc" on the repos regularly, it shouldn't really matter much. Your abandoned changes will be available through the reflog until that expires, and when that has happened "git gc" should remove them from the repositories altogether.

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Jay Levitt
Message 2 of 2 in “Rewriting history and public-private-ish branches”
  1. Jay LevittDec 20, 2011
  2. Peter KreftingDec 21, 2011

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.