Get Branch URLs from Stream

I have a question related to this.
I’m not familiar with how can i receive branches data in grasshopper.
I have this branches on my main channel but I’m not able to find the component to break down the channel and get the branch address.

Here is my attempt trying to get the id number of the stream branch “2022079-bug”
Am I missing something?

Update:
I end up copying the branch stream link

Is there a way to do this directly from gh without copying the link?

1 Like

Branches do have ids but they aren’t used the same as streams or commits. Instead you use the branch name directly.

Have a look inside this gh cluster component I made.

See if it helps

5 Likes

Woww, this is amazing! I appreciate you sharing this with us.
Here’s a little tip to make this even better: you can use %2F symbol to separate different group branches. This is very helpful when you have multiple people working on the same project and you want to keep track of their changes.



1 Like

Funnily enough, @jan-casas, I can revise my answer to @Johan_Navarro_MA .

Coming in a release very soon, branchIds will be used more extensively as Models in Frontend 2 are primarily addressed using their ID, not their Maodel name.

Were testing and working through all the edge-cases, but things will become clearer soon.

1 Like