Re: Howto request: going home in the middle of something?
- From
Karl Hasselström <kha@treskal.com>
- Date
- Oct 18, 2007, 11:07 UTC
- Message-ID
- <20071018110726.GA3936@diana.vm.bytemark.co.uk>
- In-Reply-To
- <4717377E.1010604@viscovery.net>
On 2007-10-18 12:37:50 +0200, Johannes Sixt wrote:
Show 13 quoted lines
> Jan Wielemaker schrieb: > > > I've somewhere seen it in a mail, but I can't find it anymore. I > > have a bare central (public) repository and clones on various > > machines I work on. We all know it, you're right in the middle of > > something and it is really time to go home. You want to pick up > > your work at home, but without pushing to the shared repository. > > > > I'm sure GIT can do this elegantly, but I'm not yet sure how. I > > guess Ideally I want "git stash" at work, transfer the stashed > > changes to my other machine and apply them. How do I do that? > > One way is to use a bundle:
Another way is to push the unfinished changes to a temp branch, either at the same central repository if it's acceptable for people to have temp branches there, or at another repository where temp branches _are_ permitted. All you need to set up a private repository for yourself is an ssh account somewhere. Or you could store the repository on an usb stick.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle