Despite all the examples and explanations, I don’t understand it - and thus I ended up here in the hope of getting help:
on my Ubuntu notebook:
in my {user} account:
in the folder /home/{user}/myopenhab:
I did as follows…:
git clone https://github.com/openhab/openhab-addons.git
Clone to ‘openhab-addons’ …
git status
On branch main
your branch has the same status as ‘origin/main’.
nothing to commit, working path unchanged
git checkout -b {mybranch}
switched to new branch ‘{mybranch}’
git status
On branch {mybranch}
nothing to commit, working path unchanged
mvn clean install -pl org.openhab.addons.bundles:org.openhab.binding.rotel
…I did some modifications in existing OH-binding…
mvn package -pl org.openhab.addons.bundles:org.openhab.binding.rotel
…after successfully tested my OH-binding-extensions…
git commit -a -m “my description…”
git status
On branch {mybranch}
nothing to commit, working path unchanged
git branch
- {mybranch} (green)
main (white)
git push -u origin {mybranch}
Username for
https://github.com
: {mygitusername}
Password forhttps://tonwi@github.com
: {my-personal-git-token}
remote: Permission to openhab/openhab-addons.git denied to {mygitusername}.
fatal: could not access tohttps://github.com/openhab/openhab-addons.git/
: The requested URL returned error: 403
What I’m doing wrong?