Cargando…

Git essentials : create, merge, and distribute code with Git, the most powerful and flexible versioning system available /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Santacroce, Ferdinando (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • 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