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 Workflows (in German)
Search
Moritz Breit
May 06, 2013
Programming
3
130
Git Workflows (in German)
Moritz Breit
May 06, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
PHPはいつから死んでいるかの調査
chiroruxx
1
400
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
270
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
420
GitHub Copilotのススメ
marcy731
1
200
VS Code をプロダクトにどう取り込むか
onomax
1
360
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
250
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
使ってみよう Azure AI Document Intelligence
kosmosebi
2
300
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
Featured
See All Featured
A Tale of Four Properties
chriscoyier
151
22k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
Testing 201, or: Great Expectations
jmmastey
28
6.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Clear Off the Table
cherdarchuk
84
310k
The Mythical Team-Month
searls
216
42k
Transcript
Git Workflows Moritz Breit
Git
DVCS Distributed Version Control System Jede Arbeitskopie ist vollwertiges Repository
Offline Operationen Branches lassen sich nicht vermeiden
Merges master mybranch
Fast-Forward Merge master mybranch
Rebase mybranch master
Rebase Spielt Commits neu ein Kann sie auf Basis eines
anderen Zweigs einspielen Kann Commits dabei ändern Manipuliert die Geschichte
Workflows
Single Developer Workflow Keine Konflikte Funktioniert rein lokal Rebase jederzeit
möglich master
Zentrale Entwicklung Zentrales Repository Alle Entwickler haben Schreibrechte Entwicklung passiert
im MasterBranch Häufige Konflikte bei mehreren Entwicklern
Feature Branches Separate Entwicklung von Features außerhalb des Masters Master
bleibt stabil Review und Tests vor Merge in Master
Feature Branches myfeature master
Quelle: A successful Git branching model http://nvie.com/posts/asuccessfulgitbranchingmodel/ Git Flow Ergänzt
das FeatureBranchModell um Releases und Bugfixes Develop ist zentraler IntegrationsBranch FeatureBranches basieren auf Develop Master als StableBranch Bugfixes basieren auf Master ReleaseBranches zum Stabilisieren Commandline Tool
Open Source Öffnung der Entwicklung für jeden Individuelle Entwicklung im
eigenen Repository (Fork) Maintainer zieht Beiträge und schiebt sie auf das zentrale Repository
Dictator and Lieutenants Große Projekte (z.B. LinuxKernel) Lieutenants reviewen Beiträge
Maintainer „Dictator“ zieht von den Lieutenants
Tools
Continuous Integration Tools: z.B. Hudson/Jenkins Benachrichtigung über Hooks Deployments Veröffentlichung
der Ergebnisse Als Branch Über Git Notes Über Tags (bei Deployments)
Code Review Tools Github Pull Requests Gitlab Merge Requests Gerrit
Commits oder Branches Anbindung von CI
Links Atlassian: Git Workflows A successful Git branching model Pro
Git