Git essentials : create, merge, and distribute code with Git, the most powerful and flexible versioning system available / Ferdinando Santacroce ; forewords by Arialdo Martin, Nicola Paolucci, Dr. André Roberge.

If you are a software developer with little or no experience of versioning systems, or are familiar with other centralized versioning systems, then this book is for you. If you have some experience working with command lines or using Linux admin or just using Unix and want to know more about Git, th...

Full description

Saved in:
Bibliographic Details
Main Author: Santacroce, Ferdinando (Author)
Format: eBook
Language:English
Published: Birmingham, UK : Packt Publishing, 2015.
Series:Community experience distilled.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Cover; Copyright; Credits; Foreword; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Git; Installing Git; Running our first Git command; Setting up a new repository; Adding a file; Commit the added file; Modify a committed file; Summary; Chapter 2: Git Fundamentals
  • Working Locally; Repository structure and file status life cycle; Working directory; File statuses; Staging area; Unstaging a file; The time metaphor; The past; The present; The future; Working with repositories; Unstaging a file; Viewing the history
  • Anatomy of a commitThe commit snapshot; The commit hash; Author, e-mail, and date; Commit messages; Committing a bunch of files; Ignoring some files and folders by default; Highlighting an important commit: Git tags; Taking another way
  • Git branching; Anatomy of branches; Looking at the current branches; Creating a new branch; Switching from branch to branch; Understanding what happens under the hood; Bird's eye view to branches; Typing is boring
  • Git aliases; Merging branches; Merge is not the end of the branch; Exercises; Exercise 2.1; Exercise 2.2; Deal with branches' modifications
  • Diffing branchesUsing a visual diff tool; Resolving merge conflicts; Edit collisions; Resolving a removed file conflict; Stashing; Summary; Chapter 3: Git Fundamentals
  • Working Remotely; Working with remotes; Setting up a new GitHub account; Cloning a repository; Uploading modifications to remotes; What do I send to the remote when I push?; Pushing a new branch to the remote; The origin; Tracking branches; Downloading remote changes; Checking for modifications and downloading them; Applying downloaded changes; Going backward: publish a local repository to GitHub
  • Adding a remote to a local repositoryPushing a local branch to a remote repository; Social coding
  • collaborate using GitHub; Forking a repository; Submitting pull requests; Creating a pull request; Summary; Chapter 4: Git Fundamentals
  • Niche Concepts, Configurations, and Commands; Dissecting the Git configuration; Configuration architecture; Configuration levels; Listing configurations; Editing configuration files manually; Setting up other environment configurations; Git aliases; Shortcuts to common commands; Creating commands; git unstage; git undo; git last; git difflast
  • Advanced aliases with external commandsRemoving an alias; Aliasing git command itself; Git references; Symbolic references; Ancestry references; First parent; Second parent; World-wise techniques; Changing the last commit message; Tracing changes in a file; Cherry picking; Tricks; Bare repositories; Converting a regular repository to a bare one; Backup repositories; Archiving the repository; Bundling the repository; Summary; Chapter 5: Obtaining the Most
  • Good Commits and Workflows; The art of committing; Building the right commit; Make only one change per commit