Re: Is it possible to roll back unstaged changes while leaving the staged ones for the next commit?
On Wed, Dec 17, 2008 at 10:34 PM, Nanako Shiraishi <nanako3@lavabit.com> wrote:
> A short answer is "no it is not the case."
> I was about to quote "git checkout" documentation to you because I was reasonably sure that Junio won't respond to people who ask a question whose answer is plainly described in the manual pages, but I think the description of the command is a little confusing especially for people who read it for the first time.
Show 6 quoted lines
> When <paths> are given, this command does *not* switch
> branches. It updates the named paths in the working tree from
> the index file, or from a named <tree-ish> (most often a commit). In
> this case, the `-b` options is meaningless and giving
> either of them results in an error. <tree-ish> argument can be
> used to specify a specific tree-ish (i.e. commit, tag or tree)
Works a lot better.
Thanks for the help!
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail