Skip to content

Generate pull request

Temco Controls edited this page May 7, 2018 · 17 revisions

Here are the steps for generating a Pull request to merge your work to the main repository.

  1. Open up Github client and select the correct branch

This is the view from the Github client showing the repository on your local PC. Make sure you select the correct branch at Tab10. Hit the 'Fetch Origin' at Tab11 to make sure you have the latest changes if any, from github. At Tab 12 you can see all the files on your PC which are different from those on the github repo. When you are ready to push your changes to your personal repo on github, give the changes a name and add some notes a Tab13. When you are done, hit the Push Origin icon at Tab14 to send the changes to github. Log into github, select the repo and branch to see the changes were sent successfully at Tab15.

Pushing changes to github

  1. Now generate the Pull Request

A Pull Request is your notification to other members of the team letting them know you have done some work and would like to have it merged to the main project. Go to your personal repository on github.com and select the branch where you have done your work. Then click on the 'Pull Request' at Tab16 as shown in the snapshot below. A dialog pops up at Tab17 where you can select your local repo->branch and the target repo->branch on the main repo. Add some notes at Tab18 and hit the Create Pull request button at Tab 19.

Generating the Pull Request

  1. Now all that remains is for the main repo administrator to approve the changes and merge to the main repository. Here is the view of hte pull request as seen by the project administrator for your reference, you don't need to take care of this step unless you are the Administrator for the repository. Merging the pull request

Quick Links:
Development workflow
Working with T3000 Building Automation System
Wiki Home
Introduction to T3000 project