Pro Git: [everything you need to know about the Git distibuted source control tool]
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
New York, NY
Apress
2009
|
Schriftenreihe: | The expert's voice in software development
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XXI, 265 S. graph. Darst. |
ISBN: | 9781430218333 1430218339 9781430218340 |
Internformat
MARC
LEADER | 00000nam a2200000zc 4500 | ||
---|---|---|---|
001 | BV036102589 | ||
003 | DE-604 | ||
005 | 20131202 | ||
007 | t | ||
008 | 100330s2009 d||| |||| 00||| eng d | ||
020 | |a 9781430218333 |9 978-1-4302-1833-3 | ||
020 | |a 1430218339 |9 1-4302-1833-9 | ||
020 | |a 9781430218340 |9 978-1-4302-1834-0 | ||
035 | |a (OCoLC)608297998 | ||
035 | |a (DE-599)HEB215599942 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-Aug4 |a DE-91G |a DE-739 |a DE-473 |a DE-355 |a DE-19 |a DE-20 | ||
084 | |a ST 230 |0 (DE-625)143617: |2 rvk | ||
084 | |a DAT 304f |2 stub | ||
100 | 1 | |a Chacon, Scott |e Verfasser |4 aut | |
245 | 1 | 0 | |a Pro Git |b [everything you need to know about the Git distibuted source control tool] |c Scott Chacon |
264 | 1 | |a New York, NY |b Apress |c 2009 | |
300 | |a XXI, 265 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a The expert's voice in software development | |
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 |
650 | 0 | 7 | |a Verteiltes System |0 (DE-588)4238872-7 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Open Source |0 (DE-588)4548264-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Versionsverwaltung |0 (DE-588)4202033-5 |D s |
689 | 0 | 1 | |a Verteiltes System |0 (DE-588)4238872-7 |D s |
689 | 0 | 2 | |a Open Source |0 (DE-588)4548264-0 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Git |g Software |0 (DE-588)7687494-1 |D s |
689 | 1 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018992922&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-018992922 |
Datensatz im Suchindex
_version_ | 1804141172565737472 |
---|---|
adam_text | Contents
Foreword
........................................................................xv
About the Author
.................................................................xvii
About the Technical Reviewer
.....................................................xviii
Acknowledgments
................................................................xix
Introduction
......................................................................xxi
CHAPTER
1
Getting Started
...............................................
ι
About Version Control
.............................................1
Local Version Control Systems
.....................................2
Centralized Version Control Systems
................................
з
Distributed Version Control Systems
................................4
A Short History of Git
..............................................5
Git Basics
.......................................................5
Snapshots, Not Differences
...................................6
Nearly Every Operation Is Local
................................7
Git Has Integrity
.............................................7
Git Generally Only Adds Data
..................................7
The Three States
............................................8
Installing Git
.....................................................9
Installing from Source
........................................9
Installing on Linux
..........................................10
Installing on Mac
...........................................10
Installing on Windows
.......................................11
First-Time Git Setup
.............................................11
Your Identity
...............................................11
Your Editor
.................................................12
Your Diff Tool
..............................................12
Checking Your Settings
......................................12
Getting Help
....................................................13
Summary
.......................................................13
CHAPTER
2
Git Basics
....................................................15
Getting a Git Repository
..........................................15
Initializing a Repository in an Existing Directory
.................15
Cloning an Existing Repository
...............................
16
Recording Changes to the Repository
..............................
16
Checking the Status of Your Files
.............................17
Tracking New Files
.........................................
18
Staging Modified Files
.......................................
18
Ignoring Files
...... ........................................20
Viewing Your Staged and Unstaged Changes
...................20
Committing Your Changes
...................................23
Skipping the Staging Area
...................................24
Removing Files
.............................................24
Moving Files
...............................................25
Viewing the Commit History
.......................................26
Limiting Log Output
.........................................
зо
Using a GUI to Visualize History
...............................31
Undoing Things
.................................................32
Changing Your Last Commit
..................................32
Unstaging a Staged File
.....................................33
Unmodifying a Modified File
..................................34
Working with Remotes
...........................................35
Showing Your Remotes
......................................35
Adding Remote Repositories
.................................36
Fetching and Pulling from Your Remotes
.......................36
Pushing to Your Remotes
....................................37
Inspecting a Remote
........................................37
Removing and Renaming Remotes
............................38
Tagging
........................................................38
Listing Your Tags
...........................................39
Creating Tags
..............................................39
Verifying Tags
..............................................41
Tagging Later
..............................................42
Sharing Tags
...............................................43
Tips and Tricks
..................................................43
Auto-Completion
...........................................43
Git Aliases
.................................................44
Summary
.......................................................45
CHAPTER
3
Git Branching
................................................47
What a Branch Is
................................................47
Basic Branching and Merging
.....................................53
Basic Branching
............................................53
Basic Merging
..............................................57
Basic Merge Conflicts
.......................................58
Branch Management
.............................................
бо
Branching Workflows
............................................
61
Long-Running Branches
.................................
:
... 62
Topic Branches
.............................................63
Remote Branches
...............................................64
Pushing
...................................................68
Tracking Branches
..........................................69
Deleting Remote Branches
...................................69
Rebasing
.......................................................70
The Basic
Rebase
...........................................70
More Interesting
Rebases
....................................72
The Perils of Rebasing
.......................................74
Summary
.......................................................77
CHAPTER
4
Git on the Server
79
The Protocols
...................................................79
Local Protocol
..............................................80
The SSH Protocol
...........................................81
The Git Protocol
............................................81
The HTTP/S Protocol
........................................82
Getting Git on a Server
...........................................83
Putting the Bare Repository on a Server
.......................84
Small Setups
...................................................85
SSH Access
................................................85
Generating Your SSH Public Key
..............................85
Setting Up the Server
.......................................86
Public Access
..............................................88
GitWeb
....................................................90
Gitosis
.........................................................91
Git Daemon
................................................95
Hosted Git
......................................................96
GitHub
....................................................97
Setting Up a User Account
...................................97
Creating a New Repository
...................................99
Importing from Subversion
..................................101
Adding Collaborators
.......................................102
Your Project
...............................................103
Forking Projects
...........................................104
GitHub Summary
..........................................105
Summary
......................................................105
CHAPTER
5
Distributed Git
..............................................
Ю7
Distributed Workflows
...........................................107
Centralized Workflow
......................................107
Integration-Manager Workflow
..............................108
Dictator and Lieutenants Workflow
...........................109
Contributing to a Project
.........................................110
Commit Guidelines
.........................................
m
Private Small Team
........................................112
Private Managed Team
.....................................
118
Public Small Project
........................................124
Public Large Project
........................................127
Summary
.................................................129
Maintaining a Project
...........................................
130
Working in Topic Branches
..................................
130
Applying Patches from E-mail
...............................1
зо
Checking Out Remote Branches
.............................133
Determining What Is Introduced
.............................134
Integrating Contributed Work
................................135
Tagging Your Releases
.....................................140
Generating a Build Number
.................................141
Preparing a Release
........................................141
The Shortlog
..............................................142
Summary
......................................................142
CHAPTER
6
Git Tools
....................................................143
Revision Selection
..............................................143
Single Revisions
...........................................143
Commit Ranges
...........................................147
Interactive
Staging
..............................................150
Stashing
......................................................153
Stashing Your Work
........................................154
Creating a Branch from a Stash
.............................156
Rewriting History
...............................................156
Changing the Last Commit
..................................156
Changing Multiple Commit Messages
........................157
Reordering Commits
.......................................158
Squashing a Commit
.......................................159
Splitting a Commit
.........................................160
The Nuclear Option: filter-branch
............................160
Debugging with Git
.............................................162
File Annotation
............................................162
Binary Search
.............................................163
Submodules
...................................................165
Starting with
Submodules
..................................165
Cloning a Project with
Submodules
..........................167
Superprojects
.............................................169
Issues with
Submodules
....................................169
Subtree Merging
...............................................171
Summary
......................................................173
CHAPTER
7
Customizing Git
............................................175
Git Configuration
...............................................175
Basic Client Configuration
..................................176
Colors in Git
...............................................178
External Merge and
D
iff Tools
...............................179
Formatting and Whitespace
.................................181
Server Configuration
.......................................183
Git Attributes
...................................................184
Binary Files
...............................................184
Keyword Expansion
........................................186
Exporting Your Repository
..................................189
Merge Strategies
..........................................190
Git Hooks
......................................................190
Installing a Hook
...........................................190
Client-Side Hooks
..........................................191
Server-Side Hooks
.........................................192
An Example Git-Enforced Policy
..................................193
Server-Side Hook
..........................................193
Client-Side Hooks
..........................................199
Summary
......................................................202
CHAPTER
8
Git and Other Systems
.....................................
203
Git and Subversion
.............................................203
git svn
...................................................203
Setting Up
................................................204
Getting Started
............................................204
Committing Back to Subversion
.............................
206
Pulling in New Changes
....................................207
Git Branching Issues
.......................................
208
Subversion Branching
......................................209
Subversion Commands
.....................................210
Git-Svn Summary
..........................................212
Migrating to Git
................................................212
Importing
.................................................21
з
Perforce
..................................................214
A Custom Importer
.........................................
216
Summary
.................................................221
CHAPTER
9
Git Internals
................................................223
Plumbing and Porcelain
.........................................223
Git Objects
.....................................................224
Tree Objects
..............................................226
Commit Objects
...........................................228
Object Storage
............................................231
Git References
.................................................232
The HEAD
.................................................233
Tags
.....................................................234
Remotes
..................................................235
Packfiles......................................................235
The Refspec
..............................................238
Pushing Refspecs
..........................................239
Deleting References
.......................................240
Transfer
Protocols
..............................................240
The Dumb Protocol
........................................240
The Smart Protocol
........................................242
Downloading Data
.........................................243
Maintenance and Data Recovery
.................................244
Maintenance
..............................................244
Data Recovery
.............................................245
Removing Objects
.........................................247
Summary
......................................................250
APPENDIX Creative Commons Legal Code
.................................251
INDEX
.......................................................................259
|
any_adam_object | 1 |
author | Chacon, Scott |
author_facet | Chacon, Scott |
author_role | aut |
author_sort | Chacon, Scott |
author_variant | s c sc |
building | Verbundindex |
bvnumber | BV036102589 |
classification_rvk | ST 230 |
classification_tum | DAT 304f |
ctrlnum | (OCoLC)608297998 (DE-599)HEB215599942 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01798nam a2200445zc 4500</leader><controlfield tag="001">BV036102589</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20131202 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">100330s2009 d||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781430218333</subfield><subfield code="9">978-1-4302-1833-3</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1430218339</subfield><subfield code="9">1-4302-1833-9</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781430218340</subfield><subfield code="9">978-1-4302-1834-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)608297998</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)HEB215599942</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-739</subfield><subfield code="a">DE-473</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-19</subfield><subfield code="a">DE-20</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">DAT 304f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Chacon, Scott</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Pro Git</subfield><subfield code="b">[everything you need to know about the Git distibuted source control tool]</subfield><subfield code="c">Scott Chacon</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">New York, NY</subfield><subfield code="b">Apress</subfield><subfield code="c">2009</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXI, 265 S.</subfield><subfield code="b">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="490" ind1="0" ind2=" "><subfield code="a">The expert's voice in software development</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="650" ind1="0" ind2="7"><subfield code="a">Verteiltes System</subfield><subfield code="0">(DE-588)4238872-7</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Open Source</subfield><subfield code="0">(DE-588)4548264-0</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">Verteiltes System</subfield><subfield code="0">(DE-588)4238872-7</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Open Source</subfield><subfield code="0">(DE-588)4548264-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><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="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau</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=018992922&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-018992922</subfield></datafield></record></collection> |
id | DE-604.BV036102589 |
illustrated | Illustrated |
indexdate | 2024-07-09T22:11:39Z |
institution | BVB |
isbn | 9781430218333 1430218339 9781430218340 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-018992922 |
oclc_num | 608297998 |
open_access_boolean | |
owner | DE-Aug4 DE-91G DE-BY-TUM DE-739 DE-473 DE-BY-UBG DE-355 DE-BY-UBR DE-19 DE-BY-UBM DE-20 |
owner_facet | DE-Aug4 DE-91G DE-BY-TUM DE-739 DE-473 DE-BY-UBG DE-355 DE-BY-UBR DE-19 DE-BY-UBM DE-20 |
physical | XXI, 265 S. graph. Darst. |
publishDate | 2009 |
publishDateSearch | 2009 |
publishDateSort | 2009 |
publisher | Apress |
record_format | marc |
series2 | The expert's voice in software development |
spelling | Chacon, Scott Verfasser aut Pro Git [everything you need to know about the Git distibuted source control tool] Scott Chacon New York, NY Apress 2009 XXI, 265 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier The expert's voice in software development Git Software (DE-588)7687494-1 gnd rswk-swf Versionsverwaltung (DE-588)4202033-5 gnd rswk-swf Verteiltes System (DE-588)4238872-7 gnd rswk-swf Open Source (DE-588)4548264-0 gnd rswk-swf Versionsverwaltung (DE-588)4202033-5 s Verteiltes System (DE-588)4238872-7 s Open Source (DE-588)4548264-0 s DE-604 Git Software (DE-588)7687494-1 s Digitalisierung UB Passau application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018992922&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Chacon, Scott Pro Git [everything you need to know about the Git distibuted source control tool] Git Software (DE-588)7687494-1 gnd Versionsverwaltung (DE-588)4202033-5 gnd Verteiltes System (DE-588)4238872-7 gnd Open Source (DE-588)4548264-0 gnd |
subject_GND | (DE-588)7687494-1 (DE-588)4202033-5 (DE-588)4238872-7 (DE-588)4548264-0 |
title | Pro Git [everything you need to know about the Git distibuted source control tool] |
title_auth | Pro Git [everything you need to know about the Git distibuted source control tool] |
title_exact_search | Pro Git [everything you need to know about the Git distibuted source control tool] |
title_full | Pro Git [everything you need to know about the Git distibuted source control tool] Scott Chacon |
title_fullStr | Pro Git [everything you need to know about the Git distibuted source control tool] Scott Chacon |
title_full_unstemmed | Pro Git [everything you need to know about the Git distibuted source control tool] Scott Chacon |
title_short | Pro Git |
title_sort | pro git everything you need to know about the git distibuted source control tool |
title_sub | [everything you need to know about the Git distibuted source control tool] |
topic | Git Software (DE-588)7687494-1 gnd Versionsverwaltung (DE-588)4202033-5 gnd Verteiltes System (DE-588)4238872-7 gnd Open Source (DE-588)4548264-0 gnd |
topic_facet | Git Software Versionsverwaltung Verteiltes System Open Source |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018992922&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT chaconscott progiteverythingyouneedtoknowaboutthegitdistibutedsourcecontroltool |