Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Git for Programmers

You're reading from   Git for Programmers Master Git for effective implementation of version control for your programming projects

Arrow left icon
Product type Paperback
Published in Jun 2021
Publisher Packt
ISBN-13 9781801075732
Length 264 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Jesse Liberty Jesse Liberty
Author Profile Icon Jesse Liberty
Jesse Liberty
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Introduction 2. Creating Your Repository FREE CHAPTER 3. Branching, Places, and GUIs 4. Merging, Pull Requests, and Handling Merge Conflicts 5. Rebasing, Amend, and Cherry-Picking 6. Interactive Rebasing 7. Workflow, Notes, and Tags 8. Aliases 9. Using the Log 10. Important Git Commands and Metadata 11. Finding a Broken Commit: Bisect and Blame 12. Fixing Mistakes 13. Next Steps
14. Other Books You May Enjoy
15. Index

What this book covers

Chapter 1 is the Introduction; you will learn about how the book is structured, what Git is, what version control systems are, where Git came from, and what tools are available for Git. You will also learn how to install Git on your computer.

In Chapter 2, Creating Your Repository, you will learn how to create a repository and clone it from GitHub. You will see the relationship between the repository on your disk and the one you've created on GitHub. A simple example program will be introduced.

In Chapter 3, Branching, Places, and GUIs, we'll cover the work area, the index, the repository, the remote repository, and the stash; what they are; and what they are for.

In Chapter 4, Merging, Pull Requests, and Handling Merge Conflicts, you'll learn about branching: a central concept in version control and one of Git's great strengths. Branching allows you to work on more than one thing at a time and keeps your release code clean. Git has especially fast branching.

In Chapter 5, Rebasing, Amend, and Cherry-Picking, you'll learn how to re-write history with Rebase and Amend. The very term Rebase makes some programmers quiver with fear, but I'll show you how to master this useful (and safe!) tool.

In Chapter 6, Interactive Rebasing, we'll look at how you can change the message associated with your commit, rearrange multiple commits, and even drop commits before pushing them to the server.

In Chapter 7, Workflow, Notes, and Tags, we examine the basic workflow for managing your repository, as well as how to add metadata to keep your repository clean and clear.

In Chapter 8, Aliases, we'll examine aliases and how they can save you a lot of work. Aliases can combine commands and all their flags to make your life much easier.

In Chapter 9, Using the Log, we will look at the very powerful log command. Log is much overlooked, and yet it can give you insight into every aspect of your current and past status of your projects.

In Chapter 10, Important Git Commands and Metadata, we'll go on to examine some very useful and important Git commands. These powerful statements can get you out of trouble when things appear to have gone wrong.

In Chapter 11, Finding a Broken Commit: Bisect and Blame, we'll look at a life-saving command, Bisect, which helps Git help you find where your program broke.

In Chapter 12, Fixing Mistakes, you'll learn how to get yourself out of difficulty if you make a mistake while using Git.

Finally, in Chapter 13, Next Steps, we'll take a quick look at additional resources.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime