Master Git and maintain your projects better through version control
Get to grips with Git’s typical workflows, advanced functions, and their implementations
Learn the key Git commands to better manage your repository
Description
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.
Who is this book for?
If you have basic understanding of Git and want to strengthen your command over advanced techniques and navigate different functions, this book is for you. Knowing the fundamentals of Git will help you get the most out of this book, but beginners willing to invest some extra effort will be able to follow along as well.
What you will learn
Create remote and local repositories and learn how to clone them
Understand the difference between local and remote repositories
Use, manage, and merge branches back into the main branch
Utilize tools to manage merge conflicts
Manage commits on your local machine through interactive rebasing
Use the log to gain control over all the data in your repository
Use bisect, blame, and other tools to undo Git mistakes
The media could not be loaded. This is a great book for any developer. It's especially important for university students before they begin their career or those who have recently graduated. It covers everything from setting up Git to more advanced topics. A more detailed review can be found in the video.
Amazon Verified review
Ricardo Jorge Melo JóiaOct 07, 2021
5
Either you're a seasoned developer or just starting, git is already or will become one of the most used tools in your toolbox. Jesse's book is a cookbook with the most used commands that you might need and the "infamous" git rebase.The examples are clear and relatable to real world problems and they are shown using both the terminal and git integrations such as git for visual studio and github desktop! Either you use Windows, Linux or Mac, Jesse has your back! Examples on how to get it installed and running are provided.This book guides you through creating a repo, branching strategies, merging, pull requests and how to handle merge conflicts, how to amend commits, rebasing mentioned above and cherry-picking which you might and probably will need at some point.Jesse provides in his book plenty of other tips and tricks to make you a git ninja, deffo a book to have in your collection.
Amazon Verified review
dr tAug 08, 2021
5
Git is the most popular version control system in the world but, as the book says, it is complex.This book aims to demystify the workings of Git for programmers of all skill levels. As such, chapter one serves as an on-point, excellent, introduction that does a fantastic job of enthusing the reader for the journey ahead.One of the many good things about the book is that it very quickly gets the reader going with hands-on using Git; creating repos, pulling, pushing etc. Another good thing is that the book also shows how to perform Git tasks using the command line, GitHub Desktop and Visual Studio.The book is well-written, flows well and covers the basic aspects of Git but also goes into advanced topics such as blame, stash and rebase. Unlike other books this book doesn’t go on and on for the sake of improving the page count, it is only 265 pages long, but this is good because the authors concentrate on disseminating the important elements of Git to the reader as quickly as possible. There are are also challenges at the end of each chapter which allows readers to practice what they learnt. The final chapter “Fixing Mistakes” is especially useful and I can imagine will be welcomed by many.In summary, even if you already work with Git, I would still say get this book! Highly, highly recommended and a must-have for programmers of all skill levels.
Amazon Verified review
Justin HornerAug 05, 2021
5
As a fan of works by Jesse Liberty, I was stoked to find out about this new book. Git is essential to our practice as software engineers, and I believe everyone can learn something from this book, regardless of how much or little you've used Git prior.You'll go from creating a repository and cloning it from GitHub to branching, merging, stashing changes, rebasing, cherry-picking, and so much more. You'll also learn to add notes, tags, and various ways to view commits via log.Typically, you would expect Git topics to be taught solely from the command-line, but Jesse went the extra mile to include how to work with Git via command-line, Visual Studio 2019, and GitHub Desktop! The book ends with a large section dedicated to fixing common mistakes, which I'm sure I will keep handy for if (I mean when) these mistakes occur.Here are a few chapter highlights.- Rebasing, Amend, and Cherry-Picking- Workflow, Notes, and Tags- Using the Log- Finding a Broken Commit: Bisect and Blame- Fixing Mistakes
Amazon Verified review
hawkinflightJul 15, 2021
5
The media could not be loaded. I have used git in a team environment for about a year. I found this book very helpful. I am glad I discovered it. The topics covered are great, and are presented very well. The book is not very long, which means it focuses on the basics, and doesn't include a lot of distracting fluff. The author presents the material as though he is a very helpful, friendly, humble, collaborative co-worker. There are Challenges at the end of each chapter, with answers, which provide hands-on practice. Near the end of the book, there is a short, effective chapter on How To Fix Errors, such as, "committed to the wrong branch". I like the chapter on Workflow, and the inclusion in the book of Best Practices for Making Commits and How to Avoid Merge Conflicts. The author is an experienced git user and knows what the reader needs to learn. I like the book a lot and highly recommend it.
Jesse Liberty is a full-time hands-on programmer, specializing in C#, git, and .NET MAUI. He hosts the popular Yet Another Podcast and is the author of more than a dozen best-selling programming books.
Liberty is a Certified Xamarin Developer, a Xamarin MVP and a Microsoft MVP. He was a Technical Evangelist for Microsoft, Distinguished Software Engineer at AT&T; Software Architect for PBS and Vice President of Information Technology at Citibank, and he was on the teaching staff at Brandeis University. Jesse is a recognized expert and has spoken at conferences world-wide.
A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content
How can I cancel my subscription?
To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.
What are credits?
Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.
What happens if an Early Access Course is cancelled?
Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.
Where can I send feedback about an Early Access title?
If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team.
Can I download the code files for Early Access titles?
We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.
When we publish the book, the code files will also be available to download from the Packt website.
How accurate is the publication date?
The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.
How will I know when new chapters are ready?
We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.
I am a Packt subscriber, do I get Early Access?
Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.
How is Early Access delivered?
Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.
How do I buy Early Access content?
Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.
What is Early Access?
Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.