# Github 5giotlead/tb :::info All code written for projects or producs should be committed to a repository with the 5GIOTLEAD organization as the owner. This helps us to maintain continuity and provides a single location for our code. We can make our code private or public if no confidential included. Right now we import thingsboard repo as tb in 5giotlead organization. Let us do white labeling first to be familiar with Github workflow. ==**Local > 5giotlead/tb > Netlify (5giotlead/tb, branch: release-3.4)**== ::: ## Developer > Clone tb repository properly ```bash! git clone git@github.com:5giotlead/tb.git cd tb git branch git checkout release-3.4 git branch ``` > add upstream ``` git remote add upstream git@github.com:thingsboard/thingsboard.git ``` > disable push to upstream ``` git remote set-url --push upstream DISABLE ``` ### To get the latest code changes from thingsboard and merge with yours * fetch 所有 branch ( option ) ```bash! git fetch upstream ``` 1. pull to local ```bash! git pull upstream ``` 2. push to 5giotlead remote ```bash! git push origin --follow-tags ``` ## Note * JDK 11 required ( 17+ 會跟 Lombok, netty-mqtt library 有衝突 ) ## References * [How to create Mercury private fort and customize?](https://mljar.com/blog/mercury-private-fork-customize/)