From: Jing Xue Date: Tue, 23 Oct 2007 17:56:55 GMT Subject: Re: Howto request: going home in the middle of something? Message-ID: <20071023135655.x6g6mln1j4880wog@intranet.digizenstudio.com> In-Reply-To: <200710221044.24191.wielemak@science.uva.nl> Quoting Jan Wielemaker : > Thanks for the replies. I think I can live with something like this > > > $ git checkout -b home > $ git commit > $ git checkout master > > $ git jan@work:repo fetch home:home (using ssh) > $ git checkout home > > $ git commit --amend > $ git checkout master > $ git merge home > $ git -d home > $ git commit > $ git push > > $ git -d home > $ git pull > > Its still a bit many commands and you have to be aware what you are > doing for quite a while, but it does provide one single clean commit > message, doesn't change the shared repo until all is finished and allows > to abandon all work without leaving traces. What does the extra branch gain for us here? That's not a rhetorical question, I'm actually curious to learn, because I always just commit, switch to another computer, pull, and reset HEAD^. Thanks. -- Jing Xue