Re: How to jump between two repositories ...
- From
- g2 <gerald.gutierrez@gmail.com>
- Date
- Dec 5, 2007, 15:28 UTC
- Message-ID
- <9F403ACE-62C0-4A6D-945C-3DA6DF0316B8@gmail.com>
- In-Reply-To
- <47566526.9010900@op5.se>
How do you safely push to the repository? Even if my receiving repository is pristine (the last command I do is a commit), after I push into it, some files in the work-tree are effectively out of date and git says so by thinking they are modified and staged for commit. My original set of example commands illustrates this. What set of commands do you use to avoid the problem?
On 5-Dec-07, at 12:45 AM, Andreas Ericsson wrote:
Show 19 quoted lines
> > Yes it does. It just supports it badly. If there is a work-tree > connected to > the receiving repository and that work-tree is pristine, it would be > safe and > sane to write the newly pushed changes to the connected working tree. > > We do all our integration fixups by pushing to repositories with > work-trees, > simply because it's ridiculously inconvenient to add the > infrastructure to > pull to those repos from each individual developer. In that > scenario, pushing > to a checked out branch is highly useful and perfectly safe. > > -- > Andreas Ericsson andreas.ericsson@op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231