Re: How to jump between two repositories ...
- From
Andreas Ericsson <ae@op5.se>
- Date
- Dec 5, 2007, 16:19 UTC
- Message-ID
- <4756CF7D.6090500@op5.se>
- In-Reply-To
- <9F403ACE-62C0-4A6D-945C-3DA6DF0316B8@gmail.com>
post top- don't Please
g2 wrote:
Show 8 quoted lines
> > 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? >
Vanilla git-push, ofcourse. I just make sure to run "git reset --hard" in the receiving repo before using anything in it. Granted, it's "safe" because I know I never want to use any changes from those repos and not.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231