Version control with Git: [powerful techniques for centralized and distributed project management]
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2009
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltstext Inhaltsverzeichnis |
Beschreibung: | XV, 310 S. Ill., graph. Darst. |
ISBN: | 9780596520120 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035639421 | ||
003 | DE-604 | ||
005 | 20091014 | ||
007 | t | ||
008 | 090721s2009 ad|| |||| 00||| eng d | ||
015 | |a 09,N26,0055 |2 dnb | ||
016 | 7 | |a 994627491 |2 DE-101 | |
020 | |a 9780596520120 |9 978-0-596-52012-0 | ||
024 | 3 | |a 9780596520120 | |
035 | |a (OCoLC)551811660 | ||
035 | |a (DE-599)DNB994627491 | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-634 |a DE-Aug4 |a DE-20 |a DE-861 |a DE-91G | ||
082 | 0 | |a 005.1 | |
084 | |a ST 230 |0 (DE-625)143617: |2 rvk | ||
084 | |a ST 233 |0 (DE-625)143620: |2 rvk | ||
084 | |a 004 |2 sdnb | ||
100 | 1 | |a Loeliger, Jon |e Verfasser |0 (DE-588)13848967X |4 aut | |
245 | 1 | 0 | |a Version control with Git |b [powerful techniques for centralized and distributed project management] |c Jon Loeliger |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2009 | |
300 | |a XV, 310 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Git - Computer file | |
650 | 4 | |a Git ; IND: s | |
650 | 4 | |a Open Source ; IND: s | |
650 | 4 | |a Open source software | |
650 | 4 | |a Software engineering | |
650 | 4 | |a Softwareproduktion ; IND: s | |
650 | 4 | |a Versionsverwaltung ; IND: s | |
650 | 7 | |a Open Source - Versionsverwaltung (Informatik) |2 idsbb | |
650 | 7 | |a Versionsverwaltung - (Informatik) - Open Source |2 idsbb | |
650 | 0 | 7 | |a Git |g Software |0 (DE-588)7687494-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Versionsverwaltung |0 (DE-588)4202033-5 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Versionsverwaltung |0 (DE-588)4202033-5 |D s |
689 | 0 | 1 | |a Git |g Software |0 (DE-588)7687494-1 |D s |
689 | 0 | |8 1\p |5 DE-604 | |
856 | 4 | 2 | |q text/html |u http://deposit.dnb.de/cgi-bin/dokserv?id=3316924&prov=M&dok_var=1&dok_ext=htm |3 Inhaltstext |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017694238&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
883 | 1 | |8 1\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk | |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-017694238 |
Datensatz im Suchindex
_version_ | 1805092684808847360 |
---|---|
adam_text |
Titel: Version control with Git
Autor: Loeliger, Jon
Jahr: 2009
Table of Contents
Preface.xi
1. Introduction. 1
Background 1
The Birth of Git 2
Precedents 4
Time Line 5
What's in a Name? 6
2. Installing Git.7
Using Linux Binary Distributions 7
Debian/Ubuntu 7
Other Binary Distributions 8
Obtaining a Source Release 9
Building and Installing 9
Installing Git on Windows 11
Installing the Cygwin Git Package 12
Installing Standalone Git (msysGit) 13
3. Getting Started.17
The Git Command Line 17
Quick Introduction to Using Git 19
Creating an Initial Repository 19
Adding a File to Your Repository 20
Configuring the Commit Author 22
Making Another Commit 22
Viewing Your Commits 22
Viewing Commit Differences 24
Removing and Renaming Files in Your Repository 24
Making a Copy of Your Repository 25
Configuration Files 26
Configuring an Alias 28
Inquiry 28
Basic Git Concepts.29
Basic Concepts 29
Repositories 29
Git Object Types 30
Index 31
Content-Addressable Names 31
Git Tracks Content 32
Pathname Versus Content 33
Object Store Pictures 33
Git Concepts at Work 36
Inside the .git directory 36
Objects, Hashes, and Blobs 37
Files and Trees 38
A Note on Git's Use of SHA1 39
Tree Hierarchies 41
Commits 42
Tags 43
File Management and the Index.45
It's All About the Index 46
File Classifications in Git 46
Using git add 48
Some Notes on Using git commit 50
Using git commit -all 50
Writing Commit Log Messages 51
Using git rm 52
Using git mv 54
A Note on Tracking Renames 55
The .gitignore File 56
A Detailed View of Git's Object Model and Files 58
Commits. 63
Atomic Changesets 64
Identifying Commits 65
Absolute Commit Names 65
refs and symrefs 66
Relative Commit Names 67
Commit History 69
Viewing Old Commits 69
Commit Graphs 72
Commit Ranges 76
vi I Table of Contents
Finding Commits 81
Using git bisect 81
Using git blame 85
Using Pickaxe 86
7. Branches. . 87
Reasons for Using Branches 87
Branch Names 88
Dos and Don'ts in Branch Names 89
Using Branches 89
Creating Branches 90
Listing Branch Names 92
Viewing Branches 92
Checking Out Branches 94
A Basic Example of Checking Out a Branch 95
Checking Out When You Have Uncommitted Changes 96
Merging Changes into a Different Branch 97
Creating and Checking Out a New Branch 99
Detached HEAD Branches 100
Deleting Branches 101
8. Diffs. . 105
Forms of the git diff Command 106
Simple git diff Example 110
git diff and Commit Ranges 113
git diff with Path Limiting 116
Comparing How Subversion and Git Derive diffs 118
9. Merges. .119
Merge Examples 119
Preparing for a Merge 120
Merging Two Branches 120
A Merge with a Conflict 122
Working with Merge Conflicts 126
Locating Conflicted Files 126
Inspecting Conflicts 127
How Git Keeps Track of Conflicts 131
Finishing Up a Conflict Resolution 133
Aborting or Restarting a Merge 135
Merge Strategies 135
Degenerate Merges 138
Normal Merges 140
Specialty Merges 141
Table of Contents | vii
Applying Merge Strategies 142
Merge Drivers 144
How Git Thinks About Merges 144
Merges and Git's Object Model 144
Squash Merges 145
Why Not Just Merge Each Change One by One? 146
10. Altering Commits.149
Caution About Altering History 151
Using git reset 152
Using git cherry-pick 159
Using git revert 161
reset, revert, and checkout 161
Changing the Top Commit 163
Rebasing Commits 165
Using git rebase -i 167
rebase Versus merge 171
11. Remote Repositories. 177
Repository Concepts 178
Bare and Development Repositories 178
Repository Clones 179
Remotes 180
Tracking Branches 180
Referencing Other Repositories 181
Referring to Remote Repositories 182
The refspec 183
Example Using Remote Repositories 185
Creating an Authoritative Repository 186
Make Your Own origin Remote 187
Developing in Your Repository 189
Pushing Your Changes 189
Adding a New Developer 190
Getting Repository Updates 192
Remote Repository Operations in Pictures 196
Cloning a Repository 197
Alternate Histories 198
Non-Fast-Forward Pushes 199
Fetching the Alternate History 200
Merging Histories 201
Merge Conflicts 202
Pushing a Merged History 203
Adding and Deleting Remote Branches 203
viii I Table of Contents
Remote Configuration 204
git remote 205
git config 205
Manual Editing 206
Bare Repositories and git push 206
Publishing Repositories 208
Repositories with Controlled Access 208
Repositories with Anonymous Read Access 210
Repositories with Anonymous Write Access 213
12. Repository Management.215
Repository Structure 215
The Shared Repository Structure 215
Distributed Repository Structure 216
Repository Structure Examples 217
Living with Distributed Development 219
Changing Public History 219
Separate Commit and Publish Steps 220
No One True History 220
Knowing Your Place 221
Upstream and Downstream Flows 222
The Maintainer and Developer Roles 222
Maintainer-Developer Interaction 223
Role Duality 224
Working with Multiple Repositories 225
Your Own Workspace 225
Where to Start Your Repository 226
Converting to a Different Upstream Repository 227
Using Multiple Upstream Repositories 229
Forking Projects 231
13. Patches. 233
Why Use Patches? 234
Generating Patches 235
Patches and Topological Sorts 242
Mailing Patches 243
Applying Patches 246
Bad Patches 253
Patching Versus Merging 253
14. Hooks.255
Installing Hooks 257
Example Hooks 257
Table of Contents | ix
Creating Your First Hook 258
Available Hooks 260
Commit-Related Hooks 260
Patch-Related Hooks 261
Push-Related Hooks 262
Other Local Repository Hooks 263
15. Combining Projects. 265
The Old Solution: Partial Checkouts 266
The Obvious Solution: Import the Code into Your Project 267
Importing Subprojects by Copying 269
Importing Subprojects with git pull -s subtree 269
Submitting Your Changes Upstream 273
The Automated Solution: Checking Out Subprojects Using Custom Scripts 274
The Native Solution: gitlinks and git submodule 275
gitlinks 276
The git submodule Command 278
16. Using Git with Subversion Repositories.283
Example: A Shallow Clone of a Single Branch 283
Making Your Changes in Git 286
Fetching Before Committing 287
Committing Through git svn rebase 288
Pushing, Pulling, Branching, and Merging with git svn 290
Keeping Your Commit IDs Straight 290
Cloning All the Branches 292
Sharing Your Repository 293
Merging Back into Subversion 294
Miscellaneous Notes on Working with Subversion 296
svn:ignore Versus .gitignore 296
Reconstructing the git-svn cache 297
Index.299
Table of Contents |
any_adam_object | 1 |
author | Loeliger, Jon |
author_GND | (DE-588)13848967X |
author_facet | Loeliger, Jon |
author_role | aut |
author_sort | Loeliger, Jon |
author_variant | j l jl |
building | Verbundindex |
bvnumber | BV035639421 |
classification_rvk | ST 230 ST 233 |
ctrlnum | (OCoLC)551811660 (DE-599)DNB994627491 |
dewey-full | 005.1 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.1 |
dewey-search | 005.1 |
dewey-sort | 15.1 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV035639421</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20091014</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">090721s2009 ad|| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">09,N26,0055</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">994627491</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780596520120</subfield><subfield code="9">978-0-596-52012-0</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9780596520120</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)551811660</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB994627491</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-634</subfield><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-861</subfield><subfield code="a">DE-91G</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.1</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 230</subfield><subfield code="0">(DE-625)143617:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 233</subfield><subfield code="0">(DE-625)143620:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Loeliger, Jon</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)13848967X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Version control with Git</subfield><subfield code="b">[powerful techniques for centralized and distributed project management]</subfield><subfield code="c">Jon Loeliger</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2009</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XV, 310 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Git - Computer file</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Git ; IND: s</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Open Source ; IND: s</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Open source software</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Software engineering</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Softwareproduktion ; IND: s</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Versionsverwaltung ; IND: s</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Open Source - Versionsverwaltung (Informatik)</subfield><subfield code="2">idsbb</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Versionsverwaltung - (Informatik) - Open Source</subfield><subfield code="2">idsbb</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Git</subfield><subfield code="g">Software</subfield><subfield code="0">(DE-588)7687494-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Versionsverwaltung</subfield><subfield code="0">(DE-588)4202033-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Versionsverwaltung</subfield><subfield code="0">(DE-588)4202033-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Git</subfield><subfield code="g">Software</subfield><subfield code="0">(DE-588)7687494-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="8">1\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="q">text/html</subfield><subfield code="u">http://deposit.dnb.de/cgi-bin/dokserv?id=3316924&prov=M&dok_var=1&dok_ext=htm</subfield><subfield code="3">Inhaltstext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017694238&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-017694238</subfield></datafield></record></collection> |
id | DE-604.BV035639421 |
illustrated | Illustrated |
indexdate | 2024-07-20T10:15:31Z |
institution | BVB |
isbn | 9780596520120 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-017694238 |
oclc_num | 551811660 |
open_access_boolean | |
owner | DE-634 DE-Aug4 DE-20 DE-861 DE-91G DE-BY-TUM |
owner_facet | DE-634 DE-Aug4 DE-20 DE-861 DE-91G DE-BY-TUM |
physical | XV, 310 S. Ill., graph. Darst. |
publishDate | 2009 |
publishDateSearch | 2009 |
publishDateSort | 2009 |
publisher | O'Reilly |
record_format | marc |
spelling | Loeliger, Jon Verfasser (DE-588)13848967X aut Version control with Git [powerful techniques for centralized and distributed project management] Jon Loeliger 1. ed. Beijing [u.a.] O'Reilly 2009 XV, 310 S. Ill., graph. Darst. txt rdacontent n rdamedia nc rdacarrier Git - Computer file Git ; IND: s Open Source ; IND: s Open source software Software engineering Softwareproduktion ; IND: s Versionsverwaltung ; IND: s Open Source - Versionsverwaltung (Informatik) idsbb Versionsverwaltung - (Informatik) - Open Source idsbb Git Software (DE-588)7687494-1 gnd rswk-swf Versionsverwaltung (DE-588)4202033-5 gnd rswk-swf Versionsverwaltung (DE-588)4202033-5 s Git Software (DE-588)7687494-1 s 1\p DE-604 text/html http://deposit.dnb.de/cgi-bin/dokserv?id=3316924&prov=M&dok_var=1&dok_ext=htm Inhaltstext HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017694238&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis 1\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk |
spellingShingle | Loeliger, Jon Version control with Git [powerful techniques for centralized and distributed project management] Git - Computer file Git ; IND: s Open Source ; IND: s Open source software Software engineering Softwareproduktion ; IND: s Versionsverwaltung ; IND: s Open Source - Versionsverwaltung (Informatik) idsbb Versionsverwaltung - (Informatik) - Open Source idsbb Git Software (DE-588)7687494-1 gnd Versionsverwaltung (DE-588)4202033-5 gnd |
subject_GND | (DE-588)7687494-1 (DE-588)4202033-5 |
title | Version control with Git [powerful techniques for centralized and distributed project management] |
title_auth | Version control with Git [powerful techniques for centralized and distributed project management] |
title_exact_search | Version control with Git [powerful techniques for centralized and distributed project management] |
title_full | Version control with Git [powerful techniques for centralized and distributed project management] Jon Loeliger |
title_fullStr | Version control with Git [powerful techniques for centralized and distributed project management] Jon Loeliger |
title_full_unstemmed | Version control with Git [powerful techniques for centralized and distributed project management] Jon Loeliger |
title_short | Version control with Git |
title_sort | version control with git powerful techniques for centralized and distributed project management |
title_sub | [powerful techniques for centralized and distributed project management] |
topic | Git - Computer file Git ; IND: s Open Source ; IND: s Open source software Software engineering Softwareproduktion ; IND: s Versionsverwaltung ; IND: s Open Source - Versionsverwaltung (Informatik) idsbb Versionsverwaltung - (Informatik) - Open Source idsbb Git Software (DE-588)7687494-1 gnd Versionsverwaltung (DE-588)4202033-5 gnd |
topic_facet | Git - Computer file Git ; IND: s Open Source ; IND: s Open source software Software engineering Softwareproduktion ; IND: s Versionsverwaltung ; IND: s Open Source - Versionsverwaltung (Informatik) Versionsverwaltung - (Informatik) - Open Source Git Software Versionsverwaltung |
url | http://deposit.dnb.de/cgi-bin/dokserv?id=3316924&prov=M&dok_var=1&dok_ext=htm http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017694238&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT loeligerjon versioncontrolwithgitpowerfultechniquesforcentralizedanddistributedprojectmanagement |