git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacob Helwig <jacob.helwig@gmail.com>
To: Alex K <spaceoutlet@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: uncommit
Date: Fri, 12 Jun 2009 11:06:03 -0700	[thread overview]
Message-ID: <8c9a060906121106u81d6d7dx845c458b85e9c994@mail.gmail.com> (raw)
In-Reply-To: <e4a904790906121102k51c502ech5fb7a1b1763c4657@mail.gmail.com>

On Fri, Jun 12, 2009 at 11:02, Alex K<spaceoutlet@gmail.com> wrote:
> Hello,
>
> Is there any way to uncommit but keeping the files as is in the
> current working directory?
>
> Thank you,
>
> Alex
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Take a look at "git reset".  Specifically the --soft flag.

      reply	other threads:[~2009-06-12 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12 18:02 uncommit Alex K
2009-06-12 18:06 ` Jacob Helwig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c9a060906121106u81d6d7dx845c458b85e9c994@mail.gmail.com \
    --to=jacob.helwig@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=spaceoutlet@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).