售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Git Best Practices Guide
Table of Contents
Git Best Practices Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Starting a Git Repository
Configuring Git
Initializing a new repository
Cloning an existent repository
Working with the repository
Adding a file
Committing a file
Pushing a file
Removing a file
Checking the status
Ignoring files
Summary
2. Working in a Team Using Git
Creating a server repository
Local
SSH
Git
HTTPS
Pushing data on remote repositories – Jim's case
Pulling data from the repository
Creating a patch
Working with branches
Creating a branch
Checking out a branch
Playing with a branch
The difference between branches
Tracking branches
Deleting a branch from the remote
Merging
Fast forward merge
Merge commit
Other merging strategies
Rebase
Cherry-pick
Using tags
Creating and deleting tags
Summary
3. Finding and Resolving Conflicts
Finding content inside your repository
Searching file content
Showing the current status
Exploring the repository history
Viewing changes
Stashing your changes
Cleaning your mistakes
Reverting uncommitted changes
The git reset command
Editing a commit
Canceling a commit
Rewriting commit history
Solving merge conflicts
Searching errors with git bisect
Fixing errors by practical examples
Summary
4. Going Deeper into Git
Migrating an SVN repository to Git
Preparing for SVN to Git migration
Migrating from SVN to Git
Cleaning your commits
Pushing content on Git
Migrating branches and tags
Another easy way to migrate
Using Git within an SVN environment
Setting up your repository
Working with Git SVN
Managing Git submodules
Adding a submodule
Cloning a project with submodules
Removing a submodule
Using a subtree instead of a submodule
Adding a subproject with a subtree
Contributing on a subtree
Creating and applying patches
Creating a patch
Mailing the patch
Applying the patch
Git hooks
Client hooks
Server hooks
More about hooks
Installing a hook
A hook example
Customizing Git
Summary
5. Using Git for Continuous Integration
Creating an efficient branching system
Git flow
Feature branches
Release branches
Hotfix branches
BPF – Branch Per Feature
Working with Continuous Integration using Git
Git tools you might like
Git GUI clients
On Linux
On Windows
On Mac
Repository management
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜