Ken Muse
Creating a .gitattributes Without Committing

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 more

What Is .gitattributes?

What Is .gitattributes?

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 more

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 more

Git Line Staging & Patch Editing

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 more

Git Line Staging

Git Line Staging

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 more