Book Image

Git for Programmers

By : Jesse Liberty
Book Image

Git for Programmers

By: Jesse Liberty

Overview of this book

Whether you’re looking for a book to deepen your understanding of Git or a refresher, this book is the ultimate guide to Git. Git for Programmers comprehensively equips you with actionable insights on advanced Git concepts in an engaging and straightforward way. As you progress through the chapters, you’ll gain expertise (and confidence) on Git with lots of practical use cases. After a quick refresher on git history and installation, you’ll dive straight into the creation and cloning of your repository. You’ll explore Git places, branching, and GUIs to get familiar with the fundamentals. Then you’ll learn how to handle merge conflicts, rebase, amend, interactive rebase, and use the log, as well as explore important Git commands for managing your repository. The troubleshooting part of this Git book will include detailed instructions on how to bisect, blame, and several other problem handling techniques that will complete your newly acquired Git arsenal. By the end of this book, you’ll be using Git with confidence. Saving, sharing, managing files as well as undoing mistakes and basically rewriting history will be a breeze.
Table of Contents (16 chapters)
11
Finding a Broken Commit: Bisect and Blame
13
Next Steps
14
Other Books You May Enjoy
15
Index

Index

A

amending 101, 110, 111

B

Blame 220

commits program, creating 220, 221, 222

branches

GitHub Desktop, committing with 50, 51

Git, within Visual Studio 48, 49, 50

using, in Git 41, 42, 43, 44

branches, programmer 44, 45

commits, adding 48

origin, examining 47

pushing, to server 46

branches, status 51

commits, adding 51, 52, 53

commits, examining 54, 55

origin 51

C

cherry-picking 101, 112, 113

in Visual Studio 113, 114

clean

using 203

command line 3, 4, 28, 29, 30

pulling to, GitHub Desktop 30

pulling to, Visual Studio 30

using 4

commit, best practices 30

history 31

messages 31

message title 31, 33

representing 30

commits 184, 185

cleaning, with interactive rebase 133, 134, 135, 136

D

diff 180

F

fast forward 74

true merge 74, 75

G

Git

areas 198

branches, using 41, 42, 43, 44

configuring, via command line 10...