Professional Git takes a professional approach to learning this massively popular software development tool, and provides an up-to-date guide for new users. More than just a development manual, this book helps you get into the Git mindset—extensive discussion of corollaries to traditional systems as well as considerations unique to Git help you draw upon existing skills while looking out—and planning for—the differences. Connected labs and exercises are interspersed at key points to reinforce important concepts and deepen your understanding, and a focus on the practical goes beyond technical tutorials to help you integrate the Git model into your real-world workflow.
Git greatly simplifies the software development cycle, enabling users to create, use, and switch between versions as easily as you switch between files. This book shows you how to harness that power and flexibility to streamline your development cycle.
- Understand the basic Git model and overall workflow
- Learn the Git versions of common source management concepts and commands
- Track changes, work with branches, and take advantage of Git's full functionality
- Avoid trip-ups and missteps common to new users
Git works with the most popular software development tools and is used by almost all of the major technology companies. More than 40 percent of software developers use it as their primary source control tool, and that number continues to grow; the ability to work effectively with Git is rapidly approaching must-have status, and Professional Git is the comprehensive guide you need to get up to speed quickly.
|Product dimensions:||7.30(w) x 9.10(h) x 3.30(d)|
About the Author
Brent Laster is a Senior Manager in Research & Development at SAS in Cary, North Carolina and an international trainer and presenter on open-source technologies such as Git, Jenkins, Gerrit, Gradle, and Docker. He develops and conducts practical, hands-on corporate and conference presentations. In addition, Laster has trained hundreds of people in using and understanding Git in both basic usage and advanced functionality.
Visit us at wrox.com where you have access to free code samples, Programmer to Programmer forums, and discussions on the latest happenings in the industry from around the world.
Table of ContentsINTRODUCTION xxiii
PART I: UNDERSTANDING GIT CONCEPTS
CHAPTER 1: WHAT IS GIT? 3
CHAPTER 2: KEY CONCEPTS 19
CHAPTER 3: THE GIT PROMOTION MODEL 31
PART II: USING GIT
CHAPTER 4: CONFIGURATION AND SETUP 49
CHAPTER 5: GETTING PRODUCTIVE 73
CHAPTER 6: TRACKING CHANGES 105
CHAPTER 7: WORKING WITH CHANGES OVER TIME AND USING TAGS 131
CHAPTER 8: WORKING WITH LOCAL BRANCHES 159
CHAPTER 9: MERGING CONTENT 193
CHAPTER 10: SUPPORTING FILES IN GIT 245
CHAPTER 11: DOING MORE WITH GIT 263
CHAPTER 12: UNDERSTANDING REMOTES—BRANCHES AND OPERATIONS 321
CHAPTER 13: UNDERSTANDING REMOTES—WORKFLOWS FOR CHANGES 355
CHAPTER 14: WORKING WITH TREES AND MODULES IN GIT 381
CHAPTER 15: EXTENDING GIT FUNCTIONALITY WITH GIT HOOKS 423