请输入您要查询的百科知识:

 

词条 Git版本控制管理
释义

图书信息

出版社: 东南大学出版社; 第1版 (2010年6月1日)

外文书名: Version Control with Git

平装: 310页

正文语种: 英语

开本: 16

ISBN: 7564122609, 9787564122607

条形码: 9787564122607

尺寸: 23.4 x 17.8 x 1.6 cm

重量: 798 g

作者简介

作者:(美国)罗力格(Jon Loeliger)

罗力格,是一位自由职业的软件工程师,致力于Linux、U-Boot和Git等开源项目。他曾在Linux World等诸多会议上公开讲授Git,还为《Linux Magazine》撰写过数篇关于Git的文章。

内容简介

《Git版本控制管理(影印版)》Git可以支持几乎无数种开发与合作的方法。它最早由LinilusTorvalds创建,用于管理Linux内核开发,现已成为分布式版本控制的主流工具。但是Git的灵活性也意味着某些用户无法发挥它的最大价值。《Git版本控制管理》提供了最高效的方法教程,其友好又严谨的建议有助于你随心操控Git的各项功能。

媒体评论

这是一本应该随身携带的书。

——Don Marti 编辑、记者以及会议主席

目录

Preface

1.Introduction

Background

The Birth of Git

Precedents

Time Line

What's in a Name?

2.Installing Git

Using Linux Binary Distributions

Debian/Ubuntu

Other Binary Distributions

Obtaining a Source Release

Building and Installing

Installing Git on Windows

Installing the Cygwin Git Package

Installing Standalone Git (msysGit)

3.Getting Started

The Git Command Line

Quick Introduction to Using Git

Creating an Initial Repository

Adding a File to Your Repository

Configuring the Commit Author

Making Another Commit

Viewing Your Commits

Viewing Commit Differences

Removing and Renaming Files in Your Repository

Making a Copy of Your Repository

Configuration Files.

Configuring an Alias

Inquiry

4.Basic Git Concepts

Basic Concepts

Repositories

Git Object Types

Index

Content-Addressable Names

Git Tracks Content

Pathname Versus Content

Object Store Pictures

Git Concepts at Work

Inside the .git directory

Objects, Hashes, and Blobs

Files and Trees

A Note on Git's Use of SHA1

Tree Hierarchies

Commits

Tags

5.File Management and the Index

It's All About the Index

File Classifications in Git

Using git add

Some Notes on Using git commit

Using git commit ——all

Writing Commit Log Messages

Using git rm

Using git mv

A Note on Tracking Renames

The .gitignore File

A Detailed View of Git's Object Model and Files

6.Commits

Atomic Changesets

Identifying Commits

Absolute Commit Names

refs and symrefs

Relative Commit Names

Commit History

Viewing Old Commits

Commit Graphs

Commit Ranges

Finding Commits

Using git bisect

Using git blame

Using Pickaxe

7. Branches

Reasons for Using Branches

Branch Names

Dos and Don'ts in Branch Names

Using BrancheS

Creating Branches

Listing Branch Names

Viewing Branches

Checking Out Branches

A Basic Example of Checking Out a Branch

Checking Out When You Have Uncommitted Changes

Merging Changes into a Different Branch

Creating and Checking Out a New Branch

Detached HEAD Branches

Deleting Branches

8.Diffs

Forms of the git diff Command

Simple git diff Example

git diff and Commit Ranges

git diff with Path Limiting

Comparing How Subversion and Git Derive dills

9. Merges

Merge Examples

Preparing for a Merge

Merging Two Branches

A Merge with a Conflict

Working with Merge Conflicts

Locating Conflicted Files

Inspecting Conflicts

How Git Keeps Track of Conflicts

Finishing Up a Conflict Resolution

Aborting or Restarting a Merge

Merge Strategies

Degenerate Merges

Normal Merges

Specialty Merges

Merge Drivers

How Git .Thinks About Merges

Merges and Git's Object Model

Squash Merges

Why Not Just Merge Each Change One by One?

10. Altering Commits

Caution About Altering History

Using git reset

Using git cherry-pick

Using git revert

reset, revert, and checkout

Changing the Top Commit

Rebasing Commits

Using git rebase -i

rebase Versus merge

11. Remote Repositories

Repository Concepts

Bare and Development Repositories

Repository Clones

Remotes

Tracking Branches

Referencing Other Repositories

Referring to Remote Repositories

The refspec

Example Using Remote Repositories

Creating an Authoritative Repository

Make Your Own origin Remote

Developing in Your Repository

Pushing Your Changes

Adding a New Developer

Getting Repository Updates

Remote Repository Operations in Pictures

Cloning a Repository

Alternate Histories

Non-Fast-Forward Pushes

Fetching the Alternate History

Merging Histories

Merge Conflicts

Pushing a Merged History

Adding and Deleting Remote Branches

13.Patches

14.Hooks

15.Combining Projects

16.Using Git with Subversion Repositories

lndex

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/2/6 12:57:02