SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Guangyu Chen
2013/11/2
mkdir 1102
cd 1102
git init
git config
git config
echo hello
git add .
git commit
git tag –a

user.name “chin”
user.email “chin@dummy.com”
> hello.txt
–m “commit hello.txt”
v1.5 –m “test tag”
Format:
“blob” SP “(contents size)" NUL “(contents)" LF
Sample:
blob 6
hello
Sha-1:
ce013625030ba8dba906f756967f9e9ca394464a
Format:
“tree” SP “(contents size)" NUL “(contents)“
Sample:
tree 37
100644 hello.txt
CE 01 36 25 03 0B A8 DB A9 06 F7 56 96 7F 9E 9C A3 94 46 4A
Sha-1:
aaa96ced2d9a1c8e72c56b253a0e2fe78393feb7
Format:
“commit” SP “(contents size)" NUL “(contents)" LF
Sample:
commit 159
tree aaa96ced2d9a1c8e72c56b253a0e2fe78393feb7
author chin <chin@dummy.com> 1383319258 +0900
committer chin <chin@dummy.com> 1383319258 +0900
commit hello.txt
Sha-1:
8f9e9972c57f8380690baa7bf30d4a6dd9331a99
Format:
“tag” SP “(contents size)" NUL “(contents)" LF
Sample:
tag 125
object 8f9e9972c57f8380690baa7bf30d4a6dd9331a99
type commit
tag v1.5
tagger chin <chin@dummy.com> 1383383976 +0900
test tag
Sha-1:
6a78ea64ba8b4ae4647e5acb58fd7bce62e307b6
6a78e..
tag

size

commit

8f9e9..

tag

v1.5

tagger

chin

test tag

8f9e9..
commit

size

tree

aaa96..

author

chin

committer

chin

aaa96..
tree
blob

size

ce013.. hello.txt

ce013..
blob

hello
commit hello.txt

Pro Git book

size

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter21 separate-header-and-implementation-files
Chapter21 separate-header-and-implementation-filesChapter21 separate-header-and-implementation-files
Chapter21 separate-header-and-implementation-files
Deepak Singh
 
GoLang & GoatCore
GoLang & GoatCore GoLang & GoatCore
GoLang & GoatCore
Sebastian Pożoga
 
KCDC - .NET memory management
KCDC - .NET memory managementKCDC - .NET memory management
KCDC - .NET memory management
benemmett
 
Program to-copy-contents-of-one-file-to-another
Program to-copy-contents-of-one-file-to-anotherProgram to-copy-contents-of-one-file-to-another
Program to-copy-contents-of-one-file-to-another
blacktricker
 

Was ist angesagt? (20)

Chapter21 separate-header-and-implementation-files
Chapter21 separate-header-and-implementation-filesChapter21 separate-header-and-implementation-files
Chapter21 separate-header-and-implementation-files
 
What is the best full text search engine for Python?
What is the best full text search engine for Python?What is the best full text search engine for Python?
What is the best full text search engine for Python?
 
How Secure Are Docker Containers?
How Secure Are Docker Containers?How Secure Are Docker Containers?
How Secure Are Docker Containers?
 
Building social network with Neo4j and Python
Building social network with Neo4j and PythonBuilding social network with Neo4j and Python
Building social network with Neo4j and Python
 
Intro KaKao MRTE (MySQL Realtime Traffic Emulator)
Intro KaKao MRTE (MySQL Realtime Traffic Emulator)Intro KaKao MRTE (MySQL Realtime Traffic Emulator)
Intro KaKao MRTE (MySQL Realtime Traffic Emulator)
 
GoLang & GoatCore
GoLang & GoatCore GoLang & GoatCore
GoLang & GoatCore
 
Easy to Learn C language program
Easy to Learn C language programEasy to Learn C language program
Easy to Learn C language program
 
Metrics: where and how
Metrics: where and howMetrics: where and how
Metrics: where and how
 
Мониторинг. Опять, rootconf 2016
Мониторинг. Опять, rootconf 2016Мониторинг. Опять, rootconf 2016
Мониторинг. Опять, rootconf 2016
 
Gnocchi Profiling v2
Gnocchi Profiling v2Gnocchi Profiling v2
Gnocchi Profiling v2
 
Lightweight DAS components in Perl
Lightweight DAS components in PerlLightweight DAS components in Perl
Lightweight DAS components in Perl
 
3.1.a linux commands reference
3.1.a linux commands reference3.1.a linux commands reference
3.1.a linux commands reference
 
Vcs28
Vcs28Vcs28
Vcs28
 
Red Hat Linux cheat sheet
Red Hat Linux cheat sheetRed Hat Linux cheat sheet
Red Hat Linux cheat sheet
 
KCDC - .NET memory management
KCDC - .NET memory managementKCDC - .NET memory management
KCDC - .NET memory management
 
Hydra - Getting Started
Hydra - Getting StartedHydra - Getting Started
Hydra - Getting Started
 
Packaging and distributing python code to Pypi
Packaging and distributing python code to PypiPackaging and distributing python code to Pypi
Packaging and distributing python code to Pypi
 
Program to-copy-contents-of-one-file-to-another
Program to-copy-contents-of-one-file-to-anotherProgram to-copy-contents-of-one-file-to-another
Program to-copy-contents-of-one-file-to-another
 
Gnocchi Profiling 2.1.x
Gnocchi Profiling 2.1.xGnocchi Profiling 2.1.x
Gnocchi Profiling 2.1.x
 
Pug - a compiler pipeline
Pug - a compiler pipelinePug - a compiler pipeline
Pug - a compiler pipeline
 

Andere mochten auch (10)

pic 4
pic 4pic 4
pic 4
 
San Mateo el primer evangelista
San Mateo el primer evangelistaSan Mateo el primer evangelista
San Mateo el primer evangelista
 
Test smo-test
Test smo-testTest smo-test
Test smo-test
 
Abiola Olaore
Abiola OlaoreAbiola Olaore
Abiola Olaore
 
ίδια ελατήρια διαφορετικές μάζες
ίδια ελατήρια διαφορετικές μάζεςίδια ελατήρια διαφορετικές μάζες
ίδια ελατήρια διαφορετικές μάζες
 
Artilharia segundona 2013
Artilharia segundona 2013Artilharia segundona 2013
Artilharia segundona 2013
 
M etewra 2015
M etewra 2015M etewra 2015
M etewra 2015
 
Mutations for ap bio
Mutations for ap bioMutations for ap bio
Mutations for ap bio
 
Cómo activar los subtítulos en Youtube
Cómo activar los subtítulos en YoutubeCómo activar los subtítulos en Youtube
Cómo activar los subtítulos en Youtube
 
3 teletrabajo en la administración pública (ley servir)
3 teletrabajo en la administración pública (ley servir)3 teletrabajo en la administración pública (ley servir)
3 teletrabajo en la administración pública (ley servir)
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Git objects v2