Re: What's in git.git
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 22, 2006, 05:07 UTC
- Message-ID
- <7vacbjawyu.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <86hd5rma75.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 10 quoted lines
> For example, I can do this: > > $ git-checkout next > $ cp git-cvsimport.perl DUMMY > $ git-checkout -b my-playground > $ mv DUMMY git-cvsimport.perl > $ git-commit -a -m 'trying that other version' > > But this wastes a commit. Is there any way to get an index that simply > includes the file from that other branch?
$ git checkout master
$ git checkout next git-cvsimport.perl