Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git Basics
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alexander Müller
July 23, 2015
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git Basics
Alexander Müller
July 23, 2015
Transcript
29 slides
None
• • • • • • • • • •
None
zentrale Versionskontrolle vs. dezentrale Versionskontrolle
• • • • • • • •
None
Commit (remote) Push Commit (local)
git checkout git commit git add git reset
None
nicht auslieferungsfähig immer auslieferungsfähig
/module1 /trunk /src/main/java/Application.java /branches /feature1 /src/main/java/Application.java /feature2 /src/main/java/Application.java /tags /version1
/src/main/java/Application.java /module2 /trunk /branches /tags ... /module1/src/main/java/Application.java /module2 ...
Application.java v1 SuperApplication.java v1 Application.java v1 Application.java v2 Application.java v3
Umbenennung Code-Änderung Code-Änderung
Application.java v1 SuperApplication.java v2 Application.java v1 Application.java v2 Application.java v3
Umbenennung Code-Änderung Code-Änderung Vorläufer Vorläufer Vorläufer
None
• • Aktuellen Stand des Branches von einem anderen Repository
übertragen • Übertragenen Branch in einen anderen Branch überführen •
Lass mich noch kurz in den Code schauen… Branch erstellt
Arbeit auf dem Branch Merge des Branches
• • • Feature Branches sind kurzlebig • Feature Branches
sind isoliert • Gleichzeitiges Arbeiten an Dateien sorgt für Instabilität • Feature Branches können in dedizierten Integration-Branches zusammengeführt werden
INTEGRATE AND TEST ALL THE THINGS
• • • master: Release History • develop: Integration-Branch v1.0
v2.0 v3.0 master develop
• v1.0 v2.0 v3.0 master develop feature/ticket-1
• • v1.0 v2.0 master develop release/v3
• v1.0 v1.1 master develop hotfix/broken-feature
Quelle: Vincent Driessen http://nvie.com/posts/a-successful-git-branching-model/
None
• • • •
• •
• •
None
speakerdeck.com/alexandermueller
More Decks by Alexander Müller
See All by Alexander Müller
Spring Cloud and Netflix OSS in a Nutshell
alexandermueller
1
220
CloudBees Jenkins vs. Atlassian Bamboo
alexandermueller
0
770
Continuous Delivery Workshop (english)
alexandermueller
1
130
Continuous Delivery with the Atlassian Tool Suite
alexandermueller
0
110
Continuous Delivery Workshop
alexandermueller
1
77
Git, Nexus & Atlassian Tool Suite
alexandermueller
1
270
Dev-Friday: Atlassian Toolchain
alexandermueller
0
76
Agile Softwareentwicklung mit den Atlassian-Werkzeugen
alexandermueller
0
100
Continuous Delivery mit den Atlassian-Werkzeugen
alexandermueller
0
150
Other Decks in Technology
See All in Technology
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1.1k
AI時代のTechLeadの問い〜Tech Lead Conference 2026 Autumn / questions-for-tech-leads-in-the-age-of-ai
haru860
0
110
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
230
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
140
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
480
Is the Website Dying?
miriamschwab
0
260
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
180
NutanixへのSSHアクセスの今後について
shadowhat
0
190
AIが学べる子供の夏休みの自由研究教材を作ったが空振りだった話
yoshimura_datam
0
120
品質を積み上げられるようにする
goyoki
5
2.3k
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.2k
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
1
300
Featured
See All Featured
How to make the Groovebox
asonas
2
2.6k
KATA
mclloyd
PRO
35
16k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
440
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
49k
How to train your dragon (web standard)
notwaldorf
96
6.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.6k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k