Re: How to jump between two repositories ...

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

 




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:

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@xxxxxx
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-
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]

  Powered by Linux