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
940
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git branching model for TAPTeam
Grzegorz Wilczyński
October 10, 2012
More Decks by Grzegorz Wilczyński
See All by Grzegorz Wilczyński
REWRITE'EM ALL
gwilczynski
2
480
Chain made out of coins - smart introduction to blockchain
gwilczynski
0
110
WebComponents or shadow side of the Doom
gwilczynski
0
60
clean code
gwilczynski
0
150
git scm in one hour
gwilczynski
0
130
Single responsibility principle
gwilczynski
2
210
Productivity for Programmers
gwilczynski
3
210
JS design patterns
gwilczynski
6
370
Other Decks in Programming
See All in Programming
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
170
テーブルをDELETEした
yuzneri
0
130
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
160
数百円から始めるRuby電子工作
tarosay
0
130
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
530
React本体のコードリーディング
high_g_engineer
1
130
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
660
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
290
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
560
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
140
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
140
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Designing Powerful Visuals for Engaging Learning
tmiket
1
470
Side Projects
sachag
455
43k
sira's awesome portfolio website redesign presentation
elsirapls
0
320
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
It's Worth the Effort
3n
188
29k
Everyday Curiosity
cassininazir
0
270
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
440
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
240
We Are The Robots
honzajavorek
0
290
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
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