📖 An opinionated intermediate/advanced Git book
# Git In Practice

Git In Practice is an opinionated, intermediate/advanced-level Git book by [@MikeMcQuaid](https://github.com/MikeMcQuaid).

## Table of Contents

1. [Preface](00-Preface.adoc)
2. [Introduction to Git](01-01-IntroductionToGit.adoc)
    1. [Local Git](01-LocalGit.adoc)
    2. [Remote Git](02-RemoteGit.adoc)
3. [Git Essentials](03-02-GitEssentials.adoc)
    1. [Filesystem Interactions](03-FilesystemInteractions.adoc)
    2. [History Visualization](04-HistoryVisualization.adoc)
    3. [Advanced Branching](05-AdvancedBranching.adoc)
    4. [Rewriting History and Disaster Recovery](06-RewritingHistoryAndDisasterRecovery.adoc)
4. [Advanced Git](07-03-AdvancedGit.adoc)
    1. [Personalizing Git](07-PersonalizingGit.adoc)
    2. [Vendoring Dependencies as Submodules](08-VendoringDependenciesAsSubmodules.adoc)
    3. [Working with Subversion](09-WorkingWithSubversion.adoc)
    4. [GitHub Pull Requests](10-GitHubPullRequests.adoc)
    5. [Hosting a Repository](11-HostingARepository.adoc)
5. [Git Best Practices](12-04-GitBestPractices.adoc)
    1. [Creating a Clean History](12-CreatingACleanHistory.adoc)
    2. [Merging vs. Rebasing](13-MergingVsRebasing.adoc)
    3. [Recommended Team Workflows](14-RecommendedTeamWorkflows.adoc)
6. [Appendices](15-Appendices.adoc)
    1. [Git Installation](15-Appendices.adoc#appendix-a-git-installation)
    2. [Creating a GitHub Account and Repository](15-Appendices.adoc#appendix-b-creating-a-github-account-and-repository)
    3. [Commented Git Configuration](15-Appendices.adoc#appendix-c-commented-git-configuration)
    4. [Why Use Version Control?](15-Appendices.adoc#appendix-d-why-use-version-control)

## License

You have the right to read this book through this open source repository, link others to it anywhere on the internet but not redistribute the contents of this repository outside of GitHub.

## Supporting

It takes a lot of time from multiple people to write a published book. While the content is available to read freely from this repository, if this content is useful to you and you can afford it, please consider [buying a paper or ebook copy from Manning](http://www.manning.com/mcquaid/?a_aid=MikeMcQuaid&a_bid=5688bbf4).

## Status

Published by Manning in 2014 and given a public GitHub repository in 2017.

## Contributing

If you contribute changes to this repository you assign copyright to [@MikeMcQuaid](https://github.com/MikeMcQuaid) and Manning Publications. If a future edition is released we may thank you in the foreword but you won't be assigned partial copyright or receive any royalties. If you're OK with that then please feel free to create pull-requests.

Thanks to [all the GitInPractice contributors](https://github.com/MikeMcQuaid/GitInPractice/graphs/contributors)!

## Contact

[Mike McQuaid](mailto:mike+gitinpractice@mikemcquaid.com)
