Re: How are the same file modified on different brances stored physically?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 3, 2008, 09:06 UTC
- Message-ID
- <7vskz8i3cy.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <15799383.post@talk.nabble.com>
amishera <amishera2007@gmail.com> writes:
> I am trying to figure out how stuffs work behind the scene. We know that we > can switch branches freely and then work on the switched branch. If the same > file is modified on two branches then how are the two copies of the two > branches saved?
They are saved separately, and depending on which branch you check out, the appropriate one for that branch is given to you.