Review your favorite Linux distribution.
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-17-2015, 11:09 PM   #1
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
Git/GitHub - How can I add a user's commit into local repo?

I am a noob when it comes to git/github, I am very confused on how to use it, I have tried to watch videos and read guides but none seems to cover what I want to do.

Basically, Ive cloned dolphin-emu from GitHub using git on commandline and I want to add another user's commits that were for dolphin-emu (it never made it into master and probably never will) but to the repo that I cloned and is stored locally. Do I just do a normal git commit command or? I can't seem to get it to work.

These are the commits,

How do...How in the world do I go about adding these commits? Can I do it through GitHub? Do I need to use git on terminal?

Last edited by Altiris; 08-17-2015 at 11:20 PM.
Old 08-19-2015, 12:40 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 10,945

Rep: Reputation: Disabled
Right click on the commit's title or id, then "Copy link location". In a terminal type "wget <click to paste>.patch"

In other words, just adding the .patch suffix to the link to the commit makes of it a downloadable patch.

Last edited by Didier Spaier; 08-19-2015 at 02:04 PM. Reason: Missing double quote added.
Old 08-19-2015, 08:37 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,987
Blog Entries: 28

Rep: Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069Reputation: 6069
Linux Lugcast recently had an episode devoted to git and github. One of the regulars was helping another regular sort out some issues. I can't guarantee that you will find it helpful, but you well might:
Old 08-25-2015, 01:49 AM   #4
LQ Newbie
Registered: May 2014
Posts: 4

Rep: Reputation: Disabled
I am not sure if it is right but you could try git cherry-pick command and see if it works .


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
LXer: git commit -m 'Add $200m to GitHub, tweak valuation to $2bn' LXer Syndicated Linux News 0 06-17-2015 09:40 PM
[SOLVED] Trying to split a large SVN repo into one git repo. Ian John Locke II Linux - Software 1 01-30-2012 08:19 AM
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
Best way to automate copying of Git repo to subversion repo? jceipek Linux - Server 0 03-15-2011 02:42 AM
git: getting on the same code level (github) deadeyes Programming 2 12-01-2010 03:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 AM.

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
Open Source Consulting | Domain Registration