描述
开 本: 16开纸 张: 胶版纸包 装: 平装-胶订是否套装: 否国际标准书号ISBN: 9787564168674
内容简介
Git不仅可以用于构建软件,还能做*多有意思 的事。艾玛·简·霍格宾·韦斯特比*的这本《用于 团队写作的Git(影印版)(英文版)》南展示了一 种以人为本的版本控制独门秘技,也介绍了如何以 GIt为中心提升团队协作效率。你将学会规划和实现 一种Git工作流,它不仅确保你可以完成项目目标, 也能满足你的团队的各种突发需求和未来增长需要。
本书**部分内容关于结构化工作流,这对于项 目经理、技术团队负责人和CTO非常有用。第二部分 提供可以上手的练习,帮助开发者们*好地理解Git 命令。
本书**部分内容关于结构化工作流,这对于项 目经理、技术团队负责人和CTO非常有用。第二部分 提供可以上手的练习,帮助开发者们*好地理解Git 命令。
目 录
Foreword Foreword Preface Introduction Part I. Defining Your Workflow 1. Working in Teams The People on Your Team Thinking Strategies Meeting as a Team Kickoff Tracking Progress Cultivating Empathy Wrap-Up and Retrospectives Teamwork in Terms of Git Summary 2. Command and Control Project Governance Copyright and Contributor Agreements Distribution Licenses Leadership Models Code of Conduct Access Models Dispersed Contributor Model Collocated Contributor Repositories Model Shared Maintenance Model Custom Access Models Summary 3. Branching Strategies Understanding Branches Choosing a Convention Conventions Mainline Branch Development Branch-Per-Feature Deployment State Branching Scheduled Deployment Updating Branches Summary 4. Workflows That Work Evolving Workflows Documenting Your Process Documenting Encoded Decisions Ticket Progression A Basic Workflow Trusted Developers with Peer Review Untrusted Developers with QA Gatekeepers Releasing Software According to Schedule Publishing a Stable Release Ongoing Development Post-Launch Hotfix Collaborating on Nonsoftware Projects Summary Part II. Applying the Commands to Your Workflow 5. Teams of One Issue-Based Version Control Creating Local Repositories Cloning an Existing Project Converting an Existing Project to Git Initializing an Empty Project Reviewing History Working with Branches Listing Branches Updating the List of Remote Branches Using a Different Branch Creating New Branches Adding Changes to a Repository Adding Partial File Changes to a Repository Committing Partial Changes Removing a File from the Stage Writing Extended Commit Messages Ignoring Files Working with Tags Connecting to Remote Repositories Creating a New Proiect Adding a Second Remote Connection Pushing Your Changes Branch Maintenance Command Reference Summary 6. Rollbacks, Reverts, Resets, and Rebasing Best Practices Describing Your Problem Using Branches for Experimental Work Rebasing Step by Step Begin Rebasing Mid-Rebase Conflict from a Deleted File Mid-Rebase Conflict from a Single File Merge Conflict An Overview of Locating Lost Work Restoring Files Working with Commits Amending Commits Combining Commits with Reset Altering Commits with Interactive Rebasing Unmerging a Branch Undoing Shared History Reverting a Previous Commit Unmerging a Shared Branch Really Removing History Command Reference Summary 7. Teams of More than One Setting Up the Project Creating a New Project Establishing Permissions Uploading the Project Repository Document the Project in a README Setting Up the Developers Consumers Contributors Maintainers Participating in Development Constructing the Perfect Commit Keeping Branches Up to Date Reviewing Work Merging Completed Work Resolving Merge and Rebase Conflicts Publishing Work Sample Workflows Sprint-Based Workflow Trusted Developers with No Peer Review Untrusted Developers with Independent Quality Assurance Summary 8. Ready for Review Types of Reviews Types of Reviewers Software for Code Reviews Reviewing the Issue Applying the Proposed Changes Shared Repository Setup Forked Repository Setup Checking Out the Proposed Branch Reviewing the Proposed Changes Preparing Your Feedback Submitting Your Evaluation Completing the Review Summary 9. Finding and Fixing Bugs Using stash to Work on an Emergency Bug Fix Comparative Studies of Historical Records Investigating File Ancestry with blame Historical Reenactment with bisect Summary Part III. Git Hosting 10. Open Source Projects on GitHub Getting Started on GitHub Creating an Account Creating an Organization Personal Repositories Using Public Projects on GitHub Downloading Repository Snapshots Working Locally Contributing to Projects Tracking Changes with Issues Forking a Project Initiating a Pull Request Running Your Own Project Creating a Project Repository Granting Co-Maintainership Reviewing and Accepting Pull Requests Pull Requests with Merge Conflicts Summary 11. Private Team Work on Bitbucket Project Governance for Nonpublic Projects Getting Started Creating an Account Creating a Private Project from the Welcome Screen Creating a Private Project from the Dashboard Configuring Your New Repository Exploring Your Project Editing Files in Your Repository Project Setup Project Documentation in Wiki Pages Tracking Your Changes with Issues Access Control Shared Access Per-Developer Forks Limiting Access with Protected Branches Pull Requests Submitting a Pull Request Accepting a Pull Request Extending Bitbucket with Atlassian Connect Summary 12. Self-Hosted Collaboration with GitLab Getting Started Installing GitLab Configuring the Administrative Account Administrative Dashboard Projects Creating a Project User Accounts Creating User Accounts Adding People to Projects Groups Adding People to Groups Adding Projects to Groups Access Control Project Visibility Limiting Activities with Project Roles Limiting Access with Protected Branches Milestones Summary A. Butter Tarts B. Installing the Latest Version of Git C. Configuring Git D. SSH Keys Index
评论
还没有评论。