Re: What happens if someone modifies repository without me knowing?
- From
- Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
- Date
- Sep 26, 2010, 20:23 UTC
- Message-ID
- <20100926202322.GA2995@LK-Perkele-V2.elisa-laajakaista.fi>
- In-Reply-To
- <i7o5rc$t3$1@dough.gmane.org>
On Sun, Sep 26, 2010 at 09:07:29PM +0200, Manuel Reimer wrote:
> Hello, > > let's assume someone got access to the GIT server of my hoster and > tries to hide a change within an old commit, done by me.
Commits can not be modified once created. So the attacker would have to recreate that commit with nasty modifications and then recreate every commit since.
> How will GIT tell me about this hidden change? Will a "git pull" > just bring this change into my working copy, whithout telling me > about the change?
At least after git pull, the history will look very odd if displayed graphically...
-Ilari