Ken Muse
What Is The .gitattributes File?

What Is The .gitattributes File?

You’ve seen the file, but do you understand it’s purpose? Git has the ability to customize how it handles the files you edit. Today we explore how that works.

Read this article

Creating a .gitignore Without Committing

Creating a .gitignore Without Committing

Git is a powerful tool with lots of options to simplify how you work. Today we explore how to specify files and folders to automatically ignore for all local repositories, as well as how to configure Git tracking without a local .gitignore.

Read this article

Variable Groups in GitHub

Variable Groups in GitHub

If you’re moving to GitHub from Azure DevOps, you may miss the presence of variable groups for centralizing settings. At first glance, this feature appears to be missing from GitHub. It turns out that it just requires a bit of creativity to make this functionality available.

Read this article

Publishing Images With GitHub Actions
Over the last few weeks, I’ve had a lot of questions about publishing images to registries using GitHub Actions. Today, I’ll explore the answer showing how to do this with registries in both Azure and GitHub. Along the way, I’ll also demonstrate how to use GitHub’s OIDC integration with Azure.

Read this article

Creating Visual Studio Code Extension Packs
Ever wished that you could encapsulate some recommendations or best practices for Visual Studio Code and make them available to your team? Then perhaps it’s time you considered creating an extension pack to organize and distribute those recommendations!

Read this article

Running Hugo in macOS Dev Containers
Moving to Apple Silicon can introduce challenges if you’re using x64-based containers. Sometimes, emulation is the answer. When it’s not, we can combine some Docker features with some bash scripting to create an optimized container that works well for both platforms.

Read this article

Distributing Templates with GitHub

Distributing Templates with GitHub

Having templates for your company or your personal projects can improve your development life and enable collaboration. In order to take full advantage of this, we need to make the packages we’ve created available to the rest of our team. To do this, we need a package management solution, such as GitHub Packages.

Read this article

Custom .NET Item Templates

Custom .NET Item Templates

Part of DevOps is supporting the people and processes with the right tools. There is one tool that is particularly powerful for organizations — reusable templates that make it easy to share best practices for new files and projects. In today’s post, we’ll explore creating a template that uses dotnet new to package and distribute a file.

Read this article

Deploying to Azure from  Private Container Registries
It’s a best practice to use private registries such as Azure Container Registry with container solutions on Azure. There’s very little guidance if you’re considering using a different registry to store your images. In this post, we’re explore how to use other private registries, such as the GitHub packages Container Registry.

Read this article

Git Line Staging & Patch Editing
Continuing with last week’s post, we’re going to explore how to take interactive staging (line staging) one step further in Git. Sometimes you need complete control over the process of selecting which lines to commit. Perhaps you need fine control over what code is being committed. Perhaps you just want to organize what’s in the commit. Today, we continue the exploration of this feature by learning how to edit what we’re staging.

Read this article