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 branching model for TAPTeam
Search
Grzegorz Wilczyński
October 10, 2012
Programming
0
920
Git branching model for TAPTeam
Grzegorz Wilczyński
October 10, 2012
Tweet
Share
More Decks by Grzegorz Wilczyński
See All by Grzegorz Wilczyński
REWRITE'EM ALL
gwilczynski
2
460
Chain made out of coins - smart introduction to blockchain
gwilczynski
0
91
WebComponents or shadow side of the Doom
gwilczynski
0
48
clean code
gwilczynski
0
130
git scm in one hour
gwilczynski
0
110
Single responsibility principle
gwilczynski
2
190
Productivity for Programmers
gwilczynski
3
200
JS design patterns
gwilczynski
6
360
Other Decks in Programming
See All in Programming
Jakarta EE meets AI
ivargrimstad
0
670
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
140
Jakarta EE meets AI
ivargrimstad
0
130
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Outline View in SwiftUI
1024jp
1
330
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
イベント駆動で成長して委員会
happymana
1
330
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
690
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
427
64k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Writing Fast Ruby
sferik
627
61k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Why Our Code Smells
bkeepers
PRO
334
57k
A better future with KSS
kneath
238
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Designing for humans not robots
tammielis
250
25k
What's in a price? How to price your products and services
michaelherold
243
12k
Teambox: Starting and Learning
jrom
133
8.8k
Transcript
Git branching model TAP Team Grzegorz Wilczyński twitter.com/wilq_ github.com/gwilczynski Wrocław
10th October 2012 for
What we are not going to talk about ...
None
1e6758a0f3af82cb3c23f801d861ca65f6d3e446 2a1a174fe56d1c5b754884fb6bce777d0a09feaf 12b2c7af5f40d23a3c8c6642bfedc6789715d2d9 b3c0a9bbbfdbcb1e2df6dfb51adaa6a60baa5e19
$ git branch gw-test $ git checkout gw-test $ vim
gw-test.txt $ git add . $ git commit -m "added something" $ git push origin gw-test
And the answer is...
New Merge Request
None
Manual $ git checkout master $ git fetch origin $
git merge origin/gw-test2 $ git push origin master
At this point the repository has all the commits from
the original repository, but they are not integrated into the the cloned repository’s local branches. $ git fetch origin
# Be sure everything is up to date. $ git
checkout master $ git pull # Remove remote tracking branches which no longer exist. $ git remote prune origin # See what branches are merged. $ git branch -r --merged master Git Landscaping
# Remote $ git push origin :gw-test # Local $
git branch -d gw-test Mr Clean
Branch Prefixing - You know who is responsible for deleting
each branch - You can find all your branches quickly with tab completion - You can easily find a teammate’s branch with only a general idea of its name.
http://robots.thoughtbot.com/post/29355216290/git- landscaping http://robots.thoughtbot.com/post/21306813001/remote- branch http://gitlabhq.com/ http://git-scm.com/ http://gitimmersion.com/ Sources