Branches in Replit, does this look right?

Hi all,

I had some major roadblocks in setting up github with my project, and it seems like everything is working after a lot of digging around with Shell. Those of you who are using GitHub, am I doing this right?

In the Git tool, I setup everything to connect with GitHub.com and in order to do pull requests, it told me I needed to be in a branch not main. I created a branch in the upper left (feature/serviceprovider-cpq). When making changes now, it will be on this branch not main, right? Then later on, I can merge it to main?

Yes, you’re doing it right. When you create a new branch and make changes there, those updates stay in that branch and not in main. Once you’re done, you can open a pull request and merge your branch into main.

2 Likes

Thanks, @dontech09 !

1 Like