Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git Basics
Search
Alexander Müller
July 23, 2015
Technology
0
110
Git Basics
Alexander Müller
July 23, 2015
Tweet
Share
More Decks by Alexander Müller
See All by Alexander Müller
Spring Cloud and Netflix OSS in a Nutshell
alexandermueller
1
180
CloudBees Jenkins vs. Atlassian Bamboo
alexandermueller
0
750
Continuous Delivery Workshop (english)
alexandermueller
1
110
Continuous Delivery with the Atlassian Tool Suite
alexandermueller
0
93
Continuous Delivery Workshop
alexandermueller
1
60
Git, Nexus & Atlassian Tool Suite
alexandermueller
1
240
Dev-Friday: Atlassian Toolchain
alexandermueller
0
54
Agile Softwareentwicklung mit den Atlassian-Werkzeugen
alexandermueller
0
81
Continuous Delivery mit den Atlassian-Werkzeugen
alexandermueller
0
130
Other Decks in Technology
See All in Technology
ハノーバーメッセ2025座談会.pdf
iotcomjpadmin
0
150
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
110
ObsidianをMCP連携させてみる
ttnyt8701
2
140
Agentic DevOps時代の生存戦略
kkamegawa
0
1.1k
UIテスト自動化サポート- Testbed for XCUIAutomation practice
notoroid
0
120
[TechNight #90-1] 本当に使える?ZDMの新機能を実践検証してみた
oracle4engineer
PRO
3
140
Azure AI Foundryでマルチエージェントワークフロー
seosoft
0
160
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
150
第9回情シス転職ミートアップ_テックタッチ株式会社
forester3003
0
160
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
3
400
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
110
Model Mondays S2E02: Model Context Protocol
nitya
0
200
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Building an army of robots
kneath
306
45k
GitHub's CSS Performance
jonrohan
1031
460k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
We Have a Design System, Now What?
morganepeng
52
7.6k
For a Future-Friendly Web
brad_frost
179
9.8k
Adopting Sorbet at Scale
ufuk
77
9.4k
Code Reviewing Like a Champion
maltzj
524
40k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
It's Worth the Effort
3n
184
28k
Transcript
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