内容简介
Git不仅可以用于构建软件,还能做很多有意思的事。《用于团队协作的Git(影印版英文版)》展示了一种以人为本的版本控制独门秘技,也介绍了如何以Git为中心提升团队协作效率。你将学会规划和实现一种Git工作流,它不仅确保你可以完成项目目标,也能满足你的团队的各种突发需求和未来增长需要。
《用于团队协作的Git(影印版英文版)》第一部分内容关于结构化工作流,这对于项目经理、技术团队负责人和CTO非常有用。第二部分提供可以上手的练习,帮助开发者们很好地理解Git命令。
目录
Foreword
Foreword
Preface
Introduction
PartI.DefiningYourWorkflow
1.WorkinginTeams
ThePeopleonYourTeam
ThinkingStrategies
MeetingasaTeam
Kickoff
TrackingProgress
CultivatingEmpathy
Wrap-UpandRetrospectives
TeamworkinTermsofGit
Summary
2.CommandandControl
ProjectGovernance
CopyrightandContributorAgreements
DistributionLicenses
LeadershipModels
CodeofConduct
AccessModels
DispersedContributorModel
CollocatedContributorRepositoriesModel
SharedMaintenanceModel
CustomAccessModels
Summary
3.BranchingStrategies
UnderstandingBranches
ChoosingaConvention
Conventions
MainlineBranchDevelopment
Branch-Per-FeatureDeployment
StateBranching
ScheduledDeployment
UpdatingBranches
Summary
4.WorkflowsThatWork
EvolvingWorkflows
DocumentingYourProcess
DocumentingEncodedDecisions
TicketProgression
ABasicWorkflow
TrustedDeveloperswithPeerReview
UntrustedDeveloperswithQAGatekeepers
ReleasingSoftwareAccordingtoSchedule
PublishingaStableRelease
OngoingDevelopment
Post-LaunchHotfix
CollaboratingonNonsoftwareProjects
Summary
PartII.ApplyingtheCommandstoYourWorkflow
5.TeamsofOne
Issue-BasedVersionControl
CreatingLocalRepositories
CloninganExistingProject
ConvertinganExistingProjecttoGit
InitializinganEmptyProject
ReviewingHistory
WorkingwithBranches
ListingBranches
UpdatingtheListofRemoteBranches
UsingaDifferentBranch
CreatingNewBranches
AddingChangestoaRepository
AddingPartialFileChangestoaRepository
CommittingPartialChanges
RemovingaFilefromtheStage
WritingExtendedCommitMessages
IgnoringFiles
WorkingwithTags
ConnectingtoRemoteRepositories
CreatingaNewProiect
AddingaSecondRemoteConnection
PushingYourChanges
BranchMaintenance
CommandReference
Summary
6.Rollbacks,Reverts,Resets,andRebasing
BestPractices
DescribingYourProblem
UsingBranchesforExperimentalWork
RebasingStepbyStep
BeginRebasing
Mid-RebaseConflictfromaDeletedFile
Mid-RebaseConflictfromaSingleFileMergeConflict
AnOverviewofLocatingLostWork
RestoringFiles
WorkingwithCommits
AmendingCommits
CombiningCommitswithReset
AlteringCommitswithInteractiveRebasing
UnmergingaBranch
UndoingSharedHistory
RevertingaPreviousCommit
UnmergingaSharedBranch
ReallyRemovingHistory
CommandReference
Summary
7.TeamsofMorethanOne
SettingUptheProject
CreatingaNewProject
EstablishingPermissions
UploadingtheProjectRepository
DocumenttheProjectinaREADME
SettingUptheDevelopers
Consumers
Contributors
Maintainers
ParticipatinginDevelopment
ConstructingthePerfectCommit
KeepingBranchesUptoDate
ReviewingWork
MergingCompletedWork
ResolvingMergeandRebaseConflicts
PublishingWork
SampleWorkflows
Sprint-BasedWorkflow
TrustedDeveloperswithNoPeerReview
UntrustedDeveloperswithIndependentQualityAssurance
Summary
8.ReadyforReview
TypesofReviews
TypesofReviewers
SoftwareforCodeReviews
ReviewingtheIssue
ApplyingtheProposedChanges
SharedRepositorySetup
ForkedRepositorySetup
CheckingOuttheProposedBranch
ReviewingtheProposedChanges
PreparingYourFeedback
SubmittingYourEvaluation
CompletingtheReview
Summary
9.FindingandFixingBugs
UsingstashtoWorkonanEmergencyBugFix
ComparativeStudiesofHistoricalRecords
InvestigatingFileAncestrywithblame
HistoricalReenactmentwithbisect
Summary
PartIII.GitHosting
10.OpenSourceProjectsonGitHub
GettingStartedonGitHub
CreatinganAccount
CreatinganOrganization
PersonalRepositories
UsingPublicProjectsonGitHub
DownloadingRepositorySnapshots
WorkingLocally
ContributingtoProjects
TrackingChangeswithIssues
ForkingaProject
InitiatingaPullRequest
RunningYourOwnProject
CreatingaProjectRepository
GrantingCo-Maintainership
ReviewingandAcceptingPullRequests
PullRequestswithMergeConflicts
Summary
11.PrivateTeamWorkonBitbucket
ProjectGovernanceforNonpublicProjects
GettingStarted
CreatinganAccount
CreatingaPrivateProjectfromtheWelcomeScreen
CreatingaPrivateProjectfromtheDashboard
ConfiguringYourNewRepository
ExploringYourProject
EditingFilesinYourRepository
ProjectSetup
ProjectDocumentationinWikiPages
TrackingYourChangeswithIssues
AccessControl
SharedAccess
Per-DeveloperForks
LimitingAccesswithProtectedBranches
PullRequests
SubmittingaPullRequest
AcceptingaPullRequest
ExtendingBitbucketwithAtlassianConnect
Summary
12.Self-HostedCollaborationwithGitLab
GettingStarted
InstallingGitLab
ConfiguringtheAdministrativeAccount
AdministrativeDashboard
Projects
CreatingaProject
UserAccounts
CreatingUserAccounts
AddingPeopletoProjects
Groups
AddingPeopletoGroups
AddingProjectstoGroups
AccessControl
ProjectVisibility
LimitingActivitieswithProjectRoles
LimitingAccesswithProtectedBranches
Milestones
Summary
A.ButterTarts
B.InstallingtheLatestVersionofGit
C.ConfiguringGit
D.SSHKeys
Index