Skip to Content
Git: Mastering Version Control
book

Git: Mastering Version Control

by Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski
October 2016
Beginner
861 pages
20h 37m
English
Packt Publishing
Content preview from Git: Mastering Version Control

Chapter 10. Patching and Offline Sharing

In this chapter, we will cover the following topics:

  • Creating patches
  • Creating patches from branches
  • Applying patches
  • Sending patches
  • Creating Git bundles
  • Using a Git bundle
  • Creating archives from a tree

Introduction

With the distributed nature of Git and the many existing hosting options available for Git, it is very easy to share the history between machines when they are connected through a network. In cases where the machines that need to share history are not connected or can't use the transport mechanisms supported, Git provides other methods to share the history. Git provides an easy way to format patches from the existing history, sending those with an e-mail and applying them to another repository. Git ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

Kenneth Geisshirt, Emanuele Zattin(EUR), Aske Olsson, Rasmus Voss
Git Pocket Guide

Git Pocket Guide

Richard E. Silverman

Publisher Resources

ISBN: 9781787123205Supplemental Content