LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-06-2010, 06:08 AM   #1
harish2704
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 http://git.gnome.org/browse/nautilus/ , without cloning the repo to my hard disk

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

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

Sorry, I misread that. I'm not sure... I don't know if it's possible.
 
Old 08-07-2010, 12:16 AM   #3
King_DuckZ
Member
 
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...
 
  


Reply


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 02:04 PM
GIT: My remote repository moved. How do I tell my local repo to use the new one? BrianK Programming 3 01-21-2010 12:30 AM
How to configure git-daemon to publish my repo? CoderMan Debian 0 06-16-2009 03:18 PM
svn restore directory to a revision also removing files not part of revision Four Linux - Software 1 03-03-2009 05:18 PM
LXer: Manage Source Code and Linux Kernal Revision Using Git LXer Syndicated Linux News 0 07-01-2006 09:54 AM


All times are GMT -5. The time now is 10:22 PM.

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