S?bastien Pierre <sebastien@xprima.com> wrote: > Hi all, > > This is a newbie question. > > I recently wanted to "cherry" pick a particular file from my > git-managed project history. Using gitk, I identified which was > the revision I wanted (95ba0c74e03874e8c1721b91f92f161e9061621f), > and then using git ls-tree, I managed to get the id of the file I > wanted (78132af26431e649a0f85f22dc27e5787d80700f). > > Now, what I simply wanted was to do something like: > > "get the file corresponding to > 78132af26431e649a0f85f22dc27e5787d80700f and save it as myfile.txt" > > How would one properly do that with core git ? git cat-file blob 78132af26431e649a0f85f22dc27e5787d80700f >myfile.txt -- Shawn. - 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.htmlReceived on Wed Mar 29 08:38:26 2006
This archive was generated by hypermail 2.1.8 : 2006-03-29 08:39:10 EST