From the course: Git Workflows

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Releasing with feature flags

Releasing with feature flags

From the course: Git Workflows

Releasing with feature flags

- [Instructor] Let's work on a new feature for our small website so that we can see how trunk-based development works and get a look at feature flags. To start, let's get a fresh copy of the code by pulling all of the changes from the main branch in the shared repository on GitHub to our local repository. Now we're synced up with Trunk, so let's open our index.md file to add the new feature, which is going to add another course to the page. This time, I'm going to add the markup from LinkedIn learning that embeds my learning Java collections course into our site. So I'll just go ahead and copy that markup. And then back in our index.md file, I'm going to go ahead and paste it here at the bottom of the page. Now, I'm also going to wrap that markup in a div, and I'll give that div an ID of preview, and then I'm going to set its display property to none. All right, let's go ahead. We'll close that div. And now we've…

Contents