Closed nbkhope closed 1 month ago
@nbkhope Is there also a way to make a feature branch in the Github UI? I was looking for this and ultimately couldn't find it so I opted for a forked PR.
@AlecNesatColak usually we work locally in our machine to develop the features, instead of relying solely on the GitHub website web interface.
Watch the lecture @ https://www.youtube.com/watch?v=bEpIwyNuJ-Q (STARTING FROM 37:10 minutes, that's where I do the branching) if you haven't. It goes over creating a feature branch locally, then pushing it to origin remote (which should be your fork/copy of the original repository) and making a pull request using the feature branch.
If you want to create branches on GitHub web interface, you can use the branch selector:
Keep in mind you'd have to git fetch & checkout those remote branches locally if you want to do anything with them in your machine.
@AlecNesatColak some additional point:
A fork is just a copy of the original repository. You have your own copy that you should always use and keep in sync with the original.
I can help with this