From the course: Managing Python Projects

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Feature branches

Feature branches - Python Tutorial

From the course: Managing Python Projects

Start my 1-month free trial

Feature branches

- [Instructor] There are many ways to work together on the same code base. One of the common ones is to use feature branches. A branch is a part of development path on the same code base. A feature branch is a part development path that is dedicated to a specific feature or an issue. Once you start work on an issue, create a feature branch for it and work on this branch. A nice convention is to call the branch with the name of the feature. We have our issue to document the tokenize function. So we'll do git checkout -b, meaning create a new branch, and then call it issue/1-document-tokenize. And now we're working in the document tokenize branch. Now we can go to our code, and add a commentation string to the tokenize function. Once we save our code, we're ready to go. We can do git status to see what has changed. And we see that we have one modified files. Then do git add nlp/_init_.py. And then we do git…

Contents