Git Essentials

Create, merge, and distribute code with Git, the most powerful and flexible versioning system available

Git Essentials

Ferdinando Santacroce

1 customer reviews
Create, merge, and distribute code with Git, the most powerful and flexible versioning system available
Mapt Subscription
FREE
$29.99/m after trial
eBook
$14.00
RRP $19.99
Print + eBook
$24.99
RRP $24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$14.00
$24.99
$29.99p/m after trial
RRP $19.99
RRP $24.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781785287909
Paperback168 pages

Book Description

Since its inception, Git has attracted skilled developers due to its robust, powerful, and reliable features. Its incredibly fast branching ability transformed a piece of code from a niche tool for former Linux Kernel developers into a mainstream distributed versioning system. Like most powerful tools, Git can be hard to approach since it has a lot of commands, subcommands, and options that easily confuse newcomers. The main purpose of Git Essentials is to help you overcome this fear and become adept at all basic tasks in Git. This book starts with an introduction to version control systems, and after this you'll delve deeply into the essentials of Git. This serves as a primer for the topics to follow such as branching and merging, creating and managing a GitHub personal repository, and fork and pull requests. You will then learn the art of cherry-picking, taking only commits you like, followed by Git blame. Finally, you'll learn how to migrate from SVN using Git tools or TortoiseGit and migrate from other VCSs, concluding with a collection of resources, links, and appendices.

Table of Contents

Chapter 1: Getting Started with Git
Installing Git
Running our first Git command
Summary
Chapter 2: Git Fundamentals – Working Locally
Repository structure and file status life cycle
Working with repositories
Viewing the history
Taking another way – Git branching
Stashing
Summary
Chapter 3: Git Fundamentals – Working Remotely
Working with remotes
Summary
Chapter 4: Git Fundamentals – Niche Concepts, Configurations, and Commands
Dissecting the Git configuration
Git aliases
Git references
World-wide techniques
Tricks
Summary
Chapter 5: Obtaining the Most – Good Commits and Workflows
The art of committing
Adopting a workflow – a wise act
Summary
Chapter 6: Migrating to Git
Before starting
Working on a Subversion repository using Git
Using Git with a Subversion repository
Migrating a Subversion repository
Comparing Git and Subversion commands
Summary
Chapter 7: Git Resources
Git GUI clients
Building up a personal Git server with web interface
Learning Git in a visual manner
Git on the Internet
Summary

What You Will Learn

  • Create, branch, and merge a local repository
  • Transport your work to a remote repository working in a centralized manner
  • Organize your source code using feature branches
  • Organize the development flow
  • Get a meaningful changelog using clear commit messages
  • Collaborate with teammates without any impediments
  • Experiment with your code without affecting functional code files
  • Explore some tools used to migrate to Git from other versioning systems without losing your development history
  • Extend your knowledge of Git with some useful resources

Authors

Table of Contents

Chapter 1: Getting Started with Git
Installing Git
Running our first Git command
Summary
Chapter 2: Git Fundamentals – Working Locally
Repository structure and file status life cycle
Working with repositories
Viewing the history
Taking another way – Git branching
Stashing
Summary
Chapter 3: Git Fundamentals – Working Remotely
Working with remotes
Summary
Chapter 4: Git Fundamentals – Niche Concepts, Configurations, and Commands
Dissecting the Git configuration
Git aliases
Git references
World-wide techniques
Tricks
Summary
Chapter 5: Obtaining the Most – Good Commits and Workflows
The art of committing
Adopting a workflow – a wise act
Summary
Chapter 6: Migrating to Git
Before starting
Working on a Subversion repository using Git
Using Git with a Subversion repository
Migrating a Subversion repository
Comparing Git and Subversion commands
Summary
Chapter 7: Git Resources
Git GUI clients
Building up a personal Git server with web interface
Learning Git in a visual manner
Git on the Internet
Summary

Book Details

ISBN 139781785287909
Paperback168 pages
Read More
From 1 reviews

Read More Reviews