Book Image

Git Version Control Cookbook

By : Aske Olsson, Rasmus Voss
Book Image

Git Version Control Cookbook

By: Aske Olsson, Rasmus Voss

Overview of this book

Table of Contents (19 chapters)
Git Version Control Cookbook
About the Authors
About the Reviewers

Chapter 9. Repository Maintenance

In this chapter, we will cover the following topics:

  • Pruning remote branches

  • Running garbage collection manually

  • Turning off automatic garbage collection

  • Splitting a repository

  • Rewriting history – changing a single file

  • Creating a backup of your repositories as mirror repositories

  • A quick submodule how-to

  • Subtree merging

  • Submodule versus subtree merging