# \[SOLVED\] How to assign an issue on github to me? How to merge / rebase to upstream

**URL:** <https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559>\
**Category:** Development\
**Created:** [January 27, 2021, 9:08am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559 "2021-01-27T09:08:35Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [January 27, 2021, 9:08am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/1 "2021-01-27T09:08:35Z")

</div>

There is an issue related to the Nanoleaf binding that I am maintaining. I would like to assign it to me but somehow I can’t. Do I have to be added to the project, so that I can assign it to me?

Here is the issue I am talking about:

> <https://github.com/openhab/openhab-addons/issues/9930>
>
> The WARN entries in the log started as soon as I added the panel item.
> With onl…y the controller, it was silent.
> 
> \## Expected Behavior
> No WARNings logged
> \## Current Behavior
> 
> Issue 1:
> INFO-\>TRACE @ 22:07:14.883
> \`\`\`
> 2021-01-23 21:51:14.627 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:52:14.656 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:53:14.671 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:54:14.685 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:55:14.699 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:56:14.715 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:57:14.733 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:58:14.748 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 21:59:14.763 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:00:14.784 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:01:14.798 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:02:14.812 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:03:14.833 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:04:14.849 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:05:14.867 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:06:14.881 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 
> 
> 2021-01-23 22:07:14.883 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Run update job
> 2021-01-23 22:07:14.883 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Update channels for controller nanoleaf:controller:741ADCF0C4B8
> 2021-01-23 22:07:14.884 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - RequestBuilder: Sending Request 192.168.1.12:16021 /api/v1/yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP/
> 2021-01-23 22:07:14.885 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - Sending Request http://192.168.1.12:16021/api/v1/yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP/ no query parameters
> 2021-01-23 22:07:14.886 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - Request method:GET uri:http://192.168.1.12:16021/api/v1/yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP/ params{}
> 
> 2021-01-23 22:07:14.895 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - API response from Nanoleaf controller: {"name":"Canvas 7FFE","serialNo":"S19104C1315","manufacturer":"Nanoleaf","firmwareVersion":"1.6.4","hardwareVersion":"2.0-4","model":"NL29","cloudHash":{},"discovery":{},"effects":{"effectsList":\["Christmas Lights","Color Burst","Falling Whites","Fireworks","Flames","Forest","Inner Peace","Lofi Xmas Day Vibes","Meteor Shower","Nemo","Northern Lights","Paint Splatter","Pulse Pop Beats","Radial Sound Bar","Rhythmic Northern Lights","Romantic","Sound Bar","Streaking Notes","Vintage Modern","Xmas"\],"select":"\*Solid\*"},"firmwareUpgrade":{},"panelLayout":{"globalOrientation":{"value":0,"max":360,"min":0},"layout":{"numPanels":102,"sideLength":100,"positionData":\[{"panelId":43566,"x":3300,"y":0,"o":0,"shapeType":3},{"panelId":17053,"x":3200,"y":0,"o":0,"shapeType":2},{"panelId":25091,"x":3100,"y":0,"o":0,"shapeType":2},{"panelId":46141,"x":3000,"y":0,"o":0,"shapeType":2},{"panelId":57575,"x":2900,"y":0,"o":0,"shapeType":2},{"panelId":32679,"x":2800,"y":0,"o":270,"shapeType":2},{"panelId":30347,"x":2700,"y":0,"o":270,"shapeType":2},{"panelId":10785,"x":2600,"y":0,"o":270,"shapeType":2},{"panelId":35565,"x":2500,"y":0,"o":270,"shapeType":2},{"panelId":47484,"x":2400,"y":0,"o":360,"shapeType":2},{"panelId":43000,"x":2300,"y":0,"o":630,"shapeType":2},{"panelId":21486,"x":2200,"y":0,"o":720,"shapeType":2},{"panelId":42995,"x":2100,"y":0,"o":990,"shapeType":2},{"panelId":61260,"x":2000,"y":0,"o":1080,"shapeType":2},{"panelId":23501,"x":1900,"y":0,"o":1350,"shapeType":2},{"panelId":42426,"x":1800,"y":0,"o":1440,"shapeType":2},{"panelId":53974,"x":1700,"y":0,"o":1710,"shapeType":2},{"panelId":35688,"x":1600,"y":0,"o":1710,"shapeType":2},{"panelId":13670,"x":1500,"y":0,"o":1710,"shapeType":2},{"panelId":9251,"x":1400,"y":0,"o":1710,"shapeType":2},{"panelId":62838,"x":1300,"y":0,"o":1710,"shapeType":2},{"panelId":54720,"x":1200,"y":0,"o":1710,"shapeType":2},{"panelId":31158,"x":1100,"y":0,"o":1710,"shapeType":2},{"panelId":43093,"x":1000,"y":0,"o":1800,"shapeType":2},{"panelId":17238,"x":900,"y":0,"o":2070,"shapeType":2},{"panelId":58857,"x":800,"y":0,"o":2070,"shapeType":2},{"panelId":49508,"x":700,"y":0,"o":2070,"shapeType":2},{"panelId":45041,"x":600,"y":0,"o":2070,"shapeType":2},{"panelId":41739,"x":500,"y":0,"o":2070,"shapeType":2},{"panelId":58698,"x":400,"y":0,"o":2070,"shapeType":2},{"panelId":10787,"x":300,"y":0,"o":2070,"shapeType":2},{"panelId":21504,"x":200,"y":0,"o":2070,"shapeType":2},{"panelId":7856,"x":100,"y":0,"o":2070,"shapeType":2},{"panelId":6575,"x":0,"y":0,"o":2160,"shapeType":2},{"panelId":41929,"x":0,"y":100,"o":2250,"shapeType":2},{"panelId":42633,"x":0,"y":200,"o":2520,"shapeType":2},{"panelId":40220,"x":100,"y":100,"o":2340,"shapeType":2},{"panelId":11875,"x":100,"y":200,"o":2340,"shapeType":2},{"panelId":14699,"x":200,"y":100,"o":2340,"shapeType":2},{"panelId":56142,"x":200,"y":200,"o":2340,"shapeType":2},{"panelId":40625,"x":300,"y":100,"o":2340,"shapeType":2},{"panelId":9276,"x":300,"y":200,"o":2340,"shapeType":2},{"panelId":4240,"x":400,"y":100,"o":2070,"shapeType":2},{"panelId":38037,"x":400,"y":200,"o":2070,"shapeType":2},{"panelId":54642,"x":500,"y":100,"o":2070,"shapeType":2},{"panelId":4147,"x":500,"y":200,"o":2070,"shapeType":2},{"panelId":6833,"x":600,"y":100,"o":2070,"shapeType":2},{"panelId":42490,"x":600,"y":200,"o":2340,"shapeType":2},{"panelId":41961,"x":700,"y":100,"o":2070,"shapeType":2},{"panelId":60924,"x":700,"y":200,"o":2340,"shapeType":2},{"panelId":16813,"x":800,"y":100,"o":2070,"shapeType":2},{"panelId":26663,"x":800,"y":200,"o":2340,"shapeType":2},{"panelId":31345,"x":900,"y":100,"o":2070,"shapeType":2},{"panelId":54375,"x":900,"y":200,"o":2070,"shapeType":2},{"panelId":36187,"x":1000,"y":100,"o":1800,"shapeType":2},{"panelId":26950,"x":1000,"y":200,"o":1800,"shapeType":2},{"panelId":37066,"x":1100,"y":100,"o":1980,"shapeType":2},{"panelId":3654,"x":1100,"y":200,"o":2070,"shapeType":2},{"panelId":7864,"x":1200,"y":100,"o":1710,"shapeType":2},{"panelId":15692,"x":1200,"y":200,"o":1980,"shapeType":2},{"panelId":1084,"x":1300,"y":100,"o":1710,"shapeType":2},{"panelId":2881,"x":1300,"y":200,"o":1980,"shapeType":2},{"panelId":40473,"x":1400,"y":100,"o":1710,"shapeType":2},{"panelId":55338,"x":1400,"y":200,"o":1980,"shapeType":2},{"panelId":64602,"x":1500,"y":100,"o":1710,"shapeType":2},{"panelId":31676,"x":1500,"y":200,"o":1980,"shapeType":2},{"panelId":40943,"x":1600,"y":100,"o":1980,"shapeType":2},{"panelId":9959,"x":1600,"y":200,"o":2070,"shapeType":2},{"panelId":40192,"x":1700,"y":100,"o":1710,"shapeType":2},{"panelId":62884,"x":1700,"y":200,"o":1710,"shapeType":2},{"panelId":15141,"x":1800,"y":100,"o":1440,"shapeType":2},{"panelId":22092,"x":1800,"y":200,"o":1530,"shapeType":2},{"panelId":20017,"x":1900,"y":100,"o":1350,"shapeType":2},{"panelId":38949,"x":1900,"y":200,"o":1620,"shapeType":2},{"panelId":62611,"x":2000,"y":100,"o":1080,"shapeType":2},{"panelId":40391,"x":2000,"y":200,"o":1080,"shapeType":2},{"panelId":58786,"x":2100,"y":100,"o":1260,"shapeType":2},{"panelId":19268,"x":2100,"y":200,"o":1260,"shapeType":2},{"panelId":52542,"x":2200,"y":100,"o":810,"shapeType":2},{"panelId":31010,"x":2200,"y":200,"o":810,"shapeType":2},{"panelId":45556,"x":2300,"y":100,"o":900,"shapeType":2},{"panelId":23072,"x":2300,"y":200,"o":990,"shapeType":2},{"panelId":57126,"x":2400,"y":100,"o":360,"shapeType":2},{"panelId":47347,"x":2400,"y":200,"o":450,"shapeType":2},{"panelId":34500,"x":2500,"y":100,"o":540,"shapeType":2},{"panelId":15535,"x":2500,"y":200,"o":630,"shapeType":2},{"panelId":42505,"x":2600,"y":100,"o":270,"shapeType":2},{"panelId":63234,"x":2600,"y":200,"o":270,"shapeType":2},{"panelId":26217,"x":2700,"y":100,"o":540,"shapeType":2},{"panelId":18766,"x":2700,"y":200,"o":630,"shapeType":2},{"panelId":41120,"x":2800,"y":100,"o":270,"shapeType":2},{"panelId":46502,"x":2800,"y":200,"o":540,"shapeType":2},{"panelId":55692,"x":2900,"y":100,"o":0,"shapeType":2},{"panelId":39617,"x":2900,"y":200,"o":0,"shapeType":2},{"panelId":11882,"x":3000,"y":100,"o":0,"shapeType":2},{"panelId":28885,"x":3000,"y":200,"o":0,"shapeType":2},{"panelId":46666,"x":3100,"y":100,"o":90,"shapeType":2},{"panelId":36112,"x":3100,"y":200,"o":90,"shapeType":2},{"panelId":62503,"x":3200,"y":100,"o":0,"shapeType":2},{"panelId":12437,"x":3200,"y":200,"o":0,"shapeType":2},{"panelId":42794,"x":3300,"y":100,"o":90,"shapeType":2},{"panelId":37716,"x":3300,"y":200,"o":360,"shapeType":2}\]}},"schedules":{},"state":{"brightness":{"value":25,"max":100,"min":0},"colorMode":"hs","ct":{"value":5000,"max":6500,"min":1200},"hue":{"value":28,"max":360,"min":0},"on":{"value":true},"sat":{"value":20,"max":100,"min":0}}}
> 2021-01-23 22:07:14.896 \[DEBUG\] \[nding.nanoleaf.internal.OpenAPIUtils\] - API response code: 200
> 2021-01-23 22:07:14.902 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Set to device type canvas
> 2021-01-23 22:07:14.904 \[TRACE\] \[al.handler.NanoleafControllerHandler\] - Configuration property: key deviceType value canvas
> 2021-01-23 22:07:14.905 \[TRACE\] \[al.handler.NanoleafControllerHandler\] - Configuration property: key address value 192.168.1.12
> 2021-01-23 22:07:14.905 \[TRACE\] \[al.handler.NanoleafControllerHandler\] - Configuration property: key port value 16021
> 2021-01-23 22:07:14.905 \[TRACE\] \[al.handler.NanoleafControllerHandler\] - Configuration property: key refreshInterval value 60
> 2021-01-23 22:07:14.905 \[TRACE\] \[al.handler.NanoleafControllerHandler\] - Configuration property: key authToken value yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP
> 2021-01-23 22:07:14.906 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Thing property: key serialNumber value S19104C1315
> 2021-01-23 22:07:14.906 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Thing property: key firmwareVersion value 1.6.4
> 2021-01-23 22:07:14.906 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Thing property: key modelId value NL29
> 2021-01-23 22:07:14.907 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Thing property: key vendor value Nanoleaf
> 2021-01-23 22:07:14.907 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Update color channel for panel nanoleaf:lightpanel:741ADCF0C4B8:42426
> 2021-01-23 22:07:14.907 \[DEBUG\] \[nternal.handler.NanoleafPanelHandler\] - Sending Request from Panel for getColor()
> 2021-01-23 22:07:14.907 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - RequestBuilder: Sending Request 192.168.1.12:16021 /api/v1/yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP/effects
> 2021-01-23 22:07:14.908 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - Sending Request http://192.168.1.12:16021/api/v1/yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP/effects no query parameters
> 2021-01-23 22:07:14.908 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - Request method:PUT uri:http://192.168.1.12:16021/api/v1/yKF27VapNrVWDvPL9KnlGNqkAZkCt5NP/effects params{}
> 
> 2021-01-23 22:07:14.909 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - Content {"write":{"command":"request","animType":"","animName":"\*Static\*","palette":\[\],"colorType":"","animData":"","loop":false}}
> 2021-01-23 22:07:14.912 \[TRACE\] \[nding.nanoleaf.internal.OpenAPIUtils\] - API response from Nanoleaf controller:
> 2021-01-23 22:07:14.913 \[DEBUG\] \[nding.nanoleaf.internal.OpenAPIUtils\] - API response code: 404
> 2021-01-23 22:07:14.913 \[WARN \] \[nternal.handler.NanoleafPanelHandler\] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back
> 2021-01-23 22:07:14.913 \[TRACE\] \[nternal.handler.NanoleafPanelHandler\] - updatePanelColorChannel: panelColor: null
> 2021-01-23 22:07:14.914 \[DEBUG\] \[al.handler.NanoleafControllerHandler\] - Starting TouchJob for Panel nanoleaf:controller:741ADCF0C4B8
> 
> 
> \`\`\`
> 2 items added by MAIN UI:
> !\[image\](https://user-images.githubusercontent.com/28068256/105614278-b49d9280-5dc8-11eb-9916-7cad63bfe5d0.png)
> !\[image\](https://user-images.githubusercontent.com/28068256/105614293-c7b06280-5dc8-11eb-9c88-b49488e0defa.png)
> 
> \`\`\`
> (The 101 other panels still in Inbox.)
> 
> Group:Switch canvasPanelSingleTap
> Switch panel42426SingleTap (canvasPanelSingleTap) { channel = "nanoleaf:lightpanel:741ADCF0C4B8:42426:singleTap" }
> Switch panel42426DoubleTap (canvasPanelDoubleTap) { channel = "nanoleaf:lightpanel:741ADCF0C4B8:42426:doubleTap" }
> 
> \`\`\`
> 
> 
> \## Context
> These could perhaps be issues caused by 102 panels?
> 
> \## Your Environment
> OH3 build 2158
> openhab\> list | grep -i nano
> 233 │ Active │ 80 │ 3.1.0.202101210334 │ openHAB Add-ons :: Bundles :: Nanoleaf Binding
> x64 system running on Ubuntu 18.04LTS

TIA  
Stefan

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 27, 2021, 9:31am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/2 "2021-01-27T09:31:50Z")

</div>

What is your github handle ???

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [January 27, 2021, 9:45am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/3 "2021-01-27T09:45:58Z")

</div>

This is me: [stefan-hoehn · GitHub](https://github.com/stefan-hoehn)

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 27, 2021, 9:55am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/4 "2021-01-27T09:55:56Z")

</div>

Assigned

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [January 27, 2021, 9:57am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/5 "2021-01-27T09:57:04Z")

</div>

Thanks, and is there a way I can do it myself and set it to “in progress”?

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 27, 2021, 9:59am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/6 "2021-01-27T09:59:53Z")

</div>

Normaly, just click on assignees and then add your github handle.  
You might also add a label “work in progress”…

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [January 27, 2021, 10:21am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/7 "2021-01-27T10:21:39Z")

</div>

Neither I can click on assignees nor on labels.

I haven’t been added to " [CODEOWNERS]" yet. Is that one of the reasons?

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 27, 2021, 10:24am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/8 "2021-01-27T10:24:14Z")

</div>

Sorry, but don’t know, as I am no maintainer for addons repo.

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [January 27, 2021, 10:30am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/9 "2021-01-27T10:30:45Z")

</div>

Anyway, thanks for your help so far, Hans-Jörg.

---

<div class="post-metadata">

**Author:** ![hilbrand](https://community.openhab.org/user_avatar/community.openhab.org/hilbrand/32/72354_2.png) [@hilbrand](https://community.openhab.org/u/hilbrand)\
**Post date:** [January 27, 2021, 1:11pm UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/10 "2021-01-27T13:11:45Z")

</div>

> [@stefan.hoehn](#):
>
> I haven’t been added to " [CODEOWNERS]" yet. Is that one of the reasons?

Yes that is part of the reason. If you think you should be added as code owner, add your github name to the CODEOWNERS file and create a pull request.

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [January 27, 2021, 1:29pm UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/11 "2021-01-27T13:29:03Z")

</div>

Yes, Hilbrand, that makes sense. I will do that alongside with my upcoming changes in a few days and then let you know here or will someone automatically be triggered if something changes in that file? (Well, basically, the pull request is reviewed anyway, so I am sure you guys will notice 🙂 )

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [February 1, 2021, 8:44pm UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/12 "2021-02-01T20:44:49Z")

</div>

I finally pushed something new to my repo: [GitHub - stefan-hoehn/openhab-addons: Add-ons for openHAB](https://github.com/stefan-hoehn/openhab-addons)  
and “of course” it says “This branch is 1 commit ahead, 90 commits behind openhab:main.”

Can you (again) advice how I can merge the changes from openhab:main to my fork to make sure it doesn’t conflict when I finally do a pull request?  
(Either locally or through github - I don´t mind)

thanks  
Stefan

PS: I tried a few things like “git pull upstream” and so forth but these all didn’t work. I apologize for being always so helpless with for forks and remote repos… 😢

---

<div class="post-metadata">

**Author:** ![marcel\_verpaalen](https://community.openhab.org/user_avatar/community.openhab.org/marcel_verpaalen/32/56968_2.png) [@marcel\_verpaalen](https://community.openhab.org/u/marcel_verpaalen)\
**Post date:** [February 1, 2021, 8:57pm UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/13 "2021-02-01T20:57:44Z")

</div>

You can do a ‘rebase’ which will take all of the commits from openhab:mail and than add your commit(s) on top of that.

After the rebase yo’ll need to push with force box selected (in UI) or prob something like --force if done on the command line

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [February 1, 2021, 9:07pm UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/14 "2021-02-01T21:07:11Z")

</div>

Marcel, would you mind being more specific what command I should do locally or on GitHub in detail?  
Tia  
Stefan

---

<div class="post-metadata">

**Author:** ![marcel\_verpaalen](https://community.openhab.org/user_avatar/community.openhab.org/marcel_verpaalen/32/56968_2.png) [@marcel\_verpaalen](https://community.openhab.org/u/marcel_verpaalen)\
**Post date:** [February 1, 2021, 9:19pm UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/15 "2021-02-01T21:19:36Z")

</div>

This is indeed local.  
I don’t know how you develop, but in eclipse the steps are like this

go to the git perspective  
go to the remotes in the git repository list  
Select the origin and click fetch to get the latest and greatest

Than select the origin/main branch and right click. In the menu select rebase

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [February 2, 2021, 7:43am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/16 "2021-02-02T07:43:13Z")

</div>

I am using intellij.

I can select the remote like so:

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/2/a/2a93636ed68b7e6478a8c569bb7a190d5629fc82.png)  
 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/d/b/dbd2d680cc0be52fb14da90fda21e0d1930aac56.png)

The “problem” I see here is that this refers to my own(!) repo which is a fork from the main openhab repo as I must not develop against the main repo. Hence, what I am missing is how I can pull the latest changes from the remote repo into my forked one.

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [February 2, 2021, 8:37am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/17 "2021-02-02T08:37:32Z")

</div>

With the help of a colleague who is a git guru (Thanks Basti) 🙂 I was able to master it. So let me explain what has to be done which might be help to others as well.

First I committed my changes and pushed it to MY repo which leads to differences between the main repo (which is usually called upstream by convention). Don’t forget “–signoff” (like I did).

```
 git commit -m "[nanoleaf] CODEOWNERs, add Shapes Support, beta-firmware support, less noisy" --signoff
 git push

```

With the next the command you can see which remote branches you have which in my case (of course this only revealed connections to my github repository as I have no link to the main repo)

```
git remote -v

```

Now I need to add the main repo as mentioned with the name upstream (by convention). If you want you can do another “git remote -v” to verify it.

```
 git remote add upstream https://github.com/openhab/openhab-addons.git

```

Next up is to retrieve all information of the upstream repo (note that it only fetches the information to the local but does not apply those to the branch you are currently on)

```
git fetch upstream

```

Just to be absolutely sure we are on the right branch locally, we move there (most likely you are already there any way)

```
git checkout main

```

This is where the actually magic begins. With “git rebase” git uses all commits that happened in the meantime since the last time when I retrieved code from the original repo and “cherry picks” those as if I would have started my changes not a few days ago but on top of these commits. This makes the final git tree much cleaner. Note that this will open an editor (be warned not unlikely “vi” as editor will appear which you can exit with !wq)

```
 git rebase -i upstream/main

```

Now let’s check our status (which is fine) and try to push to our own remote repo which will fail because the local repo and the remote repo have diverged in a way that it would be too dangerous to just allow that.

```
1079 git status
1080 git push

```

but because we know what we do (since today) we have use the “force” 😉 to convince git to allow it.

```
 1081 git push --force

```

Now my remote repo is only 1 commit ahead from the upstream and I am ready to do a “pull request” to the main repo.

Enjoy git…  
Stefan

---

<div class="post-metadata">

**Author:** ![system](https://community-openhab-org.s3-eu-central-1.amazonaws.com/original/2X/6/6a52f2ac5d00e4c7b50471a354b3a9221188be90.png) [@system](https://community.openhab.org/u/system)\
**Post date:** [March 16, 2021, 12:38am UTC](https://community.openhab.org/t/solved-how-to-assign-an-issue-on-github-to-me-how-to-merge-rebase-to-upstream/115559/18 "2021-03-16T00:38:06Z")

</div>

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.
