Ken Muse
Creating a .gitattributes Without Committing
Continuing our examination of ways of influencing Git’s behaviors and settings, today we look at how to utilize a global .gitattributes and how to specify file handling without modifying the repository’s .gitattributes file.

Read this article

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

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

Using Git Line Staging to Commit Parts of Files
The latest preview of Visual Studio 2022 has introduced interactive staging and the ability to stage and commit a subset of a file. Today we’ll examine how you can use the Git command line to choose to commit parts of files.

Read this article