threads / discuss / 19366

Simple rollback or discard of un-commited changes

Subject: Simple rollback or discard of un-commited changes

## tl;dr

2 messages between May 16, 2009 and May 16, 2009.

replies: 1people: 2as markdown or json

Brandon Casey· May 16, 2009, 02:21 UTC · re: Peter CHARRON · lore

Re: Simple rollback or discard of un-commited changes

Peter CHARRON wrote:
> I've used a lot of Source Code Control systems, but I can't figure out
> how to do a simple discard (aka rollback) of one file using GIT.
git checkout -- $file

← back to recent threads