[git-users] getting the tag corresponding to a git commit

2012-01-29 Thread Kevin Wilson
Hi, I am working with net-next kernel git tree; I want to know to which a certain git commit in this tree belongs. git tag gives all tags; how can I know which tag corresponds to a specified commit when I know the commit id ? rgs, Kevin -- You received this message because you are subscribed to

Re: [git-users] Re: getting the tag corresponding to a git commit

2012-01-29 Thread Rick DeNatale
On Sun, Jan 29, 2012 at 2:57 PM, Thomas Ferris Nicolaisen tfn...@gmail.comwrote: Hi Kevin, git tag --contains [commit-id] This doesn't do the job exactly though, it will list any tags whose corresponding commit is either the named commit, or one of its parents. So if we have a history

[git-users] Checkout older revisions

2012-01-29 Thread Lars Pensjö
Really basic question, but I can't find out how to checkout commits using gitk. I know how to do it with the command prompt, but I want to use git-gui. In gitk, it is possible to click on commits and doing reset. But I just want to do a git checkout on the selected commit. A typical example is

Re: [git-users] getting the tag corresponding to a git commit

2012-01-29 Thread Konstantin Khomoutov
On Sun, 29 Jan 2012 21:08:31 +0200 Kevin Wilson wkev...@gmail.com wrote: Hi, I am working with net-next kernel git tree; I want to know to which a certain git commit in this tree belongs. git tag gives all tags; how can I know which tag corresponds to a specified commit when I know the commit