Re: How to push properly a la subversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 29, 2009 at 6:32 PM, Matthieu
Stigler<matthieu.stigler@xxxxxxxxx> wrote:
> I'm discovering git switchig from svn, so I'm still confused... I want
> actually to use git but keeping this idea of one common/public repo that
> different users push/pull from.
>
> I tried just by cloning A to B, changing/commiting B and the pushing to A
> but: then on A the last log is integrated but I have this message with gitk
> "local changes checked in to index but not commited", and those local
>  changes are actually the version of A before the commit from B :-( What I
> expected with svn mentality is that A is changed and updated...

You need to configure A as a "bare" repository.  For example:
http://toolmantim.com/articles/setting_up_a_new_remote_git_repository

Future versions of git will prevent you from accidentally getting A
into the inconsistent state that you've managed to produce.

Avery
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]