FreeOrion

Forums for the FreeOrion project
It is currently Sun Jul 22, 2018 3:14 am

All times are UTC




Post new topic Reply to topic  [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Tue Jan 30, 2018 4:40 pm 
Offline
Programmer

Joined: Mon Feb 29, 2016 8:37 pm
Posts: 219
Oberlus, The Git/GitHub Questions, Answers and Howto Thread is our thread for freeorion github related information and questions. If you post some questions with a description of your problem, then we might be able to help you be more efficient with your time. Once you have learned how, it is difficult to compare how much easier it is to pull merge, or cherry pick branches/commits that your are interested in testing, v.s. cut and paste by hand.


Top
 Profile  
 
PostPosted: Wed Jan 31, 2018 3:47 am 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4683
Oberlus, getting other people's github pull requests onto your local can be a bit of a nuisance-- my favorite git GUI (Smartgit) saves that feature for its paying customers rather than the free version I use. There are still a couple fairly straightforward ways to do it, one of them I describe in a post in that thread LGM-Doyle just pointed you to.

Another way, purely via any git GUI, is to add the PR submitter's freeorion fork as another remote in your local freeorion git setup, and then from the top of the PR note which of their branches they used for the PR, and then just check out that branch from their fork.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
PostPosted: Wed Jan 31, 2018 3:58 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12236
Location: Munich
At least for me, when logged into GitHub, there are command line instructions that can be used to check out a pull request's branch.


Attachments:
File comment: When logged in, command-line commands to check out a pull request.
github_get_pr_changes_command_line.png
github_get_pr_changes_command_line.png [ 40.75 KiB | Viewed 248 times ]
Top
 Profile  
 
PostPosted: Wed Jan 31, 2018 8:39 am 
Offline
Vacuum Dragon
User avatar

Joined: Mon Apr 10, 2017 4:25 pm
Posts: 655
Thank you all. This saved me a lot of time reading tutorials and StackExchange questions and answers.

Geoff the Medio wrote:
At least for me, when logged into GitHub, there are command line instructions that can be used to check out a pull request's branch.
I can't see those buttons with command line instructions (I see instead "Only those with write access to this repository can merge pull requests.", and that's more than fine, I having write access would a crass mistake). That screenshot did it all for me, Geoff. Now I've got Dilvish-fo:this_ai_is_sly merged into my master. Cool.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group