Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-06-2010, 05:08 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
Question generate patch between two revision from git repo

Does any one know how to generate patch between two revision from git repo?
for example , how can i get a patch between v2.31.5 and v2.29.91 of Nautilus which is at , without cloning the repo to my hard disk

Please help.
Old 08-06-2010, 09:56 PM   #2
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 66
git-log -p v2.31.5..v2.29.91

Sorry, I misread that. I'm not sure... I don't know if it's possible.
Old 08-06-2010, 11:16 PM   #3
Registered: Nov 2009
Location: Rome, IT
Distribution: Sabayon
Posts: 61

Rep: Reputation: 2
You can probably cherry-pick (or rebase --onto) on a dummy local repository only containing the last revision before the one you're interested in, but I guess then it's worth cloning the whole thing...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Git - create patch after local commit student04 Linux - Software 2 10-11-2010 01:04 PM
GIT: My remote repository moved. How do I tell my local repo to use the new one? BrianK Programming 3 01-20-2010 11:30 PM
How to configure git-daemon to publish my repo? CoderMan Debian 0 06-16-2009 02:18 PM
svn restore directory to a revision also removing files not part of revision Four Linux - Software 1 03-03-2009 04:18 PM
LXer: Manage Source Code and Linux Kernal Revision Using Git LXer Syndicated Linux News 0 07-01-2006 08:54 AM

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration