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

Manipulating existing revisions by push or pull?

From
LKLasse Kliemann <lasse-gmane-git-2009@mail.plastictree.net>
Date
Nov 16, 2009, 21:49 UTC
Message-ID
<hdshcm$c06$1@ger.gmane.org>
I've got a conceptual question.

I know that one can change history in a local repository with the 'rebase' command, e.g., using the interactive mode.

Is there any way to modify existing revisions in a local repository by a pull (and merge, whatever) from a remote one? Or is there any way to modify existing revisions in a remote repository by a push (or whatever) from a local one?

Put a different way: consider there is a hostile entity from which I pull or which I allow to push to me. Can this entity fiddle with my history? Can it change the data in existing revisions in my repository? Or can it only make new revisions grow on my side?

Thank you Lasse

Next: Junio C Hamano
Message 1 of 2 in “Manipulating existing revisions by push or pull?”
  1. Lasse KliemannNov 16, 2009
  2. Junio C HamanoNov 16, 2009

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.