Git Essentials

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

Git Essentials

This ebook is included in a Mapt subscription
Ferdinando Santacroce

1 customer reviews
Create, merge, and distribute code with Git, the most powerful and flexible versioning system available
$10.00
$24.99
RRP $19.99
RRP $24.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
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