Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] No visual feedback on chosen tag


> -----Original Message-----
> From: egit-dev-bounces@xxxxxxxxxxx [mailto:egit-dev-
> bounces@xxxxxxxxxxx] On Behalf Of James Blackburn
> Sent: Dienstag, 15. Februar 2011 12:14
> To: Thomas Hallgren
> Cc: EGit developer discussion
> Subject: Re: [egit-dev] No visual feedback on chosen tag
> 
> 
> It sounds like what you're looking for is an action to replace all
> files with those at a given commit (a la git checkout -- <paths>).
> This would replace the files with the version from a particular
> commit, but leave the HEAD and index alone.  The CVS tooling has this:
> Right click > "Get Contents". You could imagine a similar action for
> egit.  It may be worth filing a bug for this as such an action would
> be generally useful.
> 

Actually it is already possible in EGit to checkout an arbitrary commit for the whole repository. You can do that from the History View on any commit from the context menu, using the "Commit" action. The result is that you get a so-called detached head: You have the content of the files from the selected commit in your workspace, but you have not changed your branch (as it is the case if you do a "Reset"). You are not on a branch anymore, however, you can create a new one to start developing from there.


Back to the top