Book Image

DevOps Unleashed with Git and GitHub

By : Yuki Hattori
Book Image

DevOps Unleashed with Git and GitHub

By: Yuki Hattori

Overview of this book

Git and GitHub are absolutely crucial for DevOps, playing a multifaceted role in streamlining the software development lifecycle and enabling smoother collaboration between development and operations teams. DevOps Unleashed with Git and GitHub enables you to harness the power of Git and GitHub to streamline workflows, drive collaboration, and fuel innovation. Authored by an expert from GitHub, the book starts by guiding you through Git fundamentals and delving into DevOps and the developer experience. As you progress, you’ll understand how to leverage GitHub's collaboration and automation features, and even use GitHub Copilot for enhanced productivity. You'll also learn how to bridge the DevOps gap, maintain code quality, and implement robust security measures. Additionally, hands-on exercises will equip you to elevate your developer experience, foster teamwork, and drive innovation at the speed of DevOps. By the end of this DevOps book, you’ll have mastered the Git fundamentals, conquered collaboration challenges, and unleashed the power of GitHub as you transform your DevOps workflows.
Table of Contents (14 chapters)
Free Chapter
Part 1: Foundations of Git, GitHub, and DevOps
Part 2: GitHub Excellence and CI/CD Fundamentals
Part 3: Beyond DevOps

GitHub repository excellence

There are many configurations in GitHub repositories that can promote collaboration. These settings can reduce the need to fear failure and make the review process more standardized. We will not cover all of them here, but some of the major ones are particularly important.

Repository rules – Streamlining workflow and ensuring code quality

Branch rules are important for managing a repository in a way that strikes a balance between security and collaboration. While GitHub allows setting permissions for the repository or specific functions, it does not offer code-based permissions. Relying solely on write permissions can restrict participation and hinder open communication. Branch rules allow repository administrators to enforce specific policies on branches, particularly critical ones such as the main or master branches. These policies include requirements for pull request reviews, status checks, and restrictions on who can push to the branch...