Skip to main content

Git Best Practices

  • Chapter
  • First Online:
Beginning Git and GitHub
  • 5519 Accesses

Abstract

The previous chapter was one of the most important ones in this book. Make sure to come back to it every time you have doubts about commits. After reading it, you should be able to make, review, and amend project snapshots without any problems. Now that you know the basic features of Git, it’s time for you to learn the best practices to make your life (and your teammates’) easier. These are the stuff that I wish I knew when I first used Git. We’ll cover commit messages, the dos and don’ts of Git, and a list of the most common mistakes beginners do. Then we’ll finish with a little reminder of how Git works.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Mariot Tsitoara

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Tsitoara, M. (2020). Git Best Practices. In: Beginning Git and GitHub. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5313-7_6

Download citation

Publish with us

Policies and ethics