
Git: Mastering Version Control
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
All prices
More details
Content
- Cover
- Copyright
- Credits
- Preface
- Table of Content
- Module 1: Git Essentials
- 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
- Module 2: Git Version Control Cookbook
- Chapter 1: Navigating Git
- Introduction
- Git's objects
- The three stages
- Viewing the DAG
- Extracting fixed issues
- Getting a list of the changed files
- Viewing history with Gitk
- Finding commits in history
- Searching through history code
- Chapter 2: Configuration
- Configuration targets
- Querying the existing configuration
- Templates
- A .git directory template
- A few configuration examples
- Git aliases
- The refspec exemplified
- Chapter 3: Branching, Merging, and Options
- Introduction
- Managing your local branches
- Branches with remotes
- Forcing a merge commit
- Using git rerere to merge known conflicts
- The difference between branches
- Chapter 4: Rebase Regularly and Interactively, and Other Use Cases
- Introduction
- Rebasing commits to another branch
- Continuing a rebase with merge conflicts
- Rebasing selective commits interactively
- Squashing commits using an interactive rebase
- Changing the author of commits using a rebase
- Auto-squashing commits
- Chapter 5: Storing Additional Information in Your Repository
- Introduction
- Adding your first Git note
- Separating notes by category
- Retrieving notes from the remote repository
- Pushing notes to a remote repository
- Tagging commits in the repository
- Chapter 6: Extracting Data from the Repository
- Introduction
- Extracting the top contributor
- Finding bottlenecks in the source tree
- Grepping the commit messages
- The contents of the releases
- Chapter 7: Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts
- Introduction
- Using a branch description in the commit message
- Creating a dynamic commit message template
- Using external information in the commit message
- Preventing the push of specific commits
- Configuring and using Git aliases
- Configuring and using Git scripts
- Setting up and using a commit template
- Chapter 8: Recovering from Mistakes
- Introduction
- Undo - remove a commit completely
- Undo - remove a commit and retain the changes to files
- Undo - remove a commit and retain the changes in the staging area
- Undo - working with a dirty area
- Redo - recreate the latest commit with new changes
- Revert - undo the changes introduced by a commit
- Reverting a merge
- Viewing past Git actions with git reflog
- Finding lost changes with git fsck
- Chapter 9: Repository Maintenance
- Introduction
- Pruning remote branches
- Running garbage collection manually
- Turning off automatic garbage collection
- Splitting a repository
- Rewriting history - changing a single file
- Back up your repositories as mirror repositories
- A quick submodule how-to
- Subtree merging
- Submodule versus subtree merging
- Chapter 10: Patching and Offline Sharing
- Introduction
- Creating patches
- Creating patches from branches
- Applying patches
- Sending patches
- Creating Git bundles
- Using a Git bundle
- Creating archives from a tree
- Chapter 11: Git Plumbing and Attributes
- Introduction
- Displaying the repository information
- Displaying the tree information
- Displaying the file information
- Writing a blob object to the database
- Writing a tree object to the database
- Writing a commit object to the database
- Keyword expansion with attribute filters
- Metadata diff of binary files
- Storing binaries elsewhere
- Checking the attributes of a file
- Attributes to export an archive
- Chapter 12: Tips and Tricks
- Introduction
- Using git stash
- Saving and applying stashes
- Debugging with git bisect
- Using the blame command
- Color UI in the prompt
- Autocompletion
- Bash prompt with status information
- More aliases
- Interactive add
- Interactive add with Git GUI
- Ignoring files
- Showing and cleaning ignored files
- Module 3: Mastering Git
- Chapter 1: Git Basics in Practice
- An introduction to version control and Git
- Git by example
- Summary
- Chapter 2: Exploring Project History
- Directed Acyclic Graphs
- Single revision selection
- Selecting the revision range
- Searching history
- History of a file
- Finding bugs with git bisect
- Selecting and formatting the git log output
- Summary
- Chapter 3: Developing with Git
- Creating a new commit
- Working with branches
- Summary
- Chapter 4: Managing Your Worktree
- Ignoring files
- File attributes
- Fixing mistakes with the reset command
- Stashing away your changes
- Managing worktrees and the staging area
- Multiple working directories
- Summary
- Chapter 5: Collaborative Development with Git
- Collaborative workflows
- Managing remote repositories
- Transport protocols
- Publishing your changes upstream
- Chain of trust
- Summary
- Chapter 6: Advanced Branching Techniques
- Types and purposes of branches
- Branching workflows and release engineering
- Interacting with branches in remote repositories
- Summary
- Chapter 7: Merging Changes Together
- Methods of combining changes
- Resolving merge conflicts
- Summary
- Chapter 8: Keeping History Clean
- An introduction to Git internals
- Rewriting history
- Amending history without rewriting
- Summary
- Chapter 9: Managing Subprojects - Building a Living Framework
- Managing library and framework dependencies
- Managing large Git repositories
- Summary
- Chapter 10: Customizing and Extending Git
- Git on the command line
- Graphical interfaces
- Configuring Git
- Automating Git with hooks
- Extending Git
- Summary
- Chapter 11: Git Administration
- Repository maintenance
- Data recovery and troubleshooting
- Git on the server
- Augmenting development workflows
- Summary
- Chapter 12: Git Best Practices
- Starting a project
- Working on a project
- Integrating changes
- Other recommendations
- Summary
- Bibliography
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.