Switch branch on CLI

Hello, maybe i misunderstand how the CLI works, but how do branches work? from what i can see, there isn't a specific way to switch my branch. For example, right now, on a branch i've labelled "develop", I've added an edge function and changed the data type of a column in my db. how do i know which branch I'm pulling/starting when working with supabase locally?
3 Replies
ihm40
ihm405w ago
if you are using github, the way to know which branch you are working on is that the github branch should be in sync with the supabase branch git checkout -b feature-branch make changes push those changes and hopefully see those changes in github
Åskkuken
ÅskkukenOP5w ago
do you mean via github integration?
ihm40
ihm405w ago
yeah push the git branch not the supbase push

Did you find this page helpful?