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 Lesson
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Oursky Limited
November 22, 2011
Programming
600
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git Lesson
Things try to avoid at GitHub. Rule of thumb when you are using Git.
Oursky Limited
November 22, 2011
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
570
SSH Can
oursky
1
350
HTTP/2
oursky
0
390
watchOS2
oursky
0
380
Common QA issues
oursky
0
250
Complex is better than complicated
oursky
0
330
Clean code again
oursky
3
430
KiriKiri x O2 x NVLMarker
oursky
0
280
Flux + React
oursky
1
420
Other Decks in Programming
See All in Programming
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
450
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.8k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
150
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5k
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
160
wkhtmltopdfの次どうするか問題2026
willnet
2
1.9k
パーソナライズPodcastを作った話
repunit11
0
130
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
200
JRuby: Past, Present, and Future
headius
0
230
Featured
See All Featured
A better future with KSS
kneath
240
18k
Side Projects
sachag
456
43k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
530
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Believing is Seeing
oripsolob
1
240
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Optimizing for Happiness
mojombo
378
71k
Transcript
Git And possible workflow Tuesday, 22 November, 11
versioning control tools Originally for programmer Evolved for Designer too!
Tuesday, 22 November, 11
Why git? Fast Everything local Enable more Workflow!!!! Tuesday, 22
November, 11
GitHub Model Fork and branch Make changes Pull Request Integration
Manager Workflow Tuesday, 22 November, 11
Lesson learned What you should avoid at pull request Tuesday,
22 November, 11
git merge Merge hell Don’t merge at pull request. Don’t
reuse branch. New Branch or Rebase! Tuesday, 22 November, 11
git rebase Rebase will kill the history. I appear so
productive at 15 Nov! Some issue tracker will go crazy.... Rebase public branch? Tuesday, 22 November, 11
Remove password! git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile'
HEAD git push origin master --force All branch must be rebase! github will cached the password, open a support ticket.... Tuesday, 22 November, 11
Revert merge ---o---o---o---M---x---x---W / ---A---B ---o---o---o---M---x---x---W---x / ---A---B-------------------C---D A and
B are bad, use “git revert -m 1 M”(W) to revert C and D fix the bugs introduced by A and B. Tuesday, 22 November, 11
Two way Revert W Redo A B ---o---o---o---M---x---x-------x-------* / /
---A---B-------------------C---D ---o---o---o---M---x---x---W---x---x---Y---* / \ / ---A---B A'--B'--C' Tuesday, 22 November, 11
Consideration Try no to reverting too much Small commit is
easier for bisect Revert a commit, not a merge. Linus on merge: ftp://82.96.64.7/pub/software/scm/git/ docs/v1.6.3.3/howto/revert-a-faulty-merge.txt Tuesday, 22 November, 11
Rule of thumb Branch more Keep branch small Merge frequent
Tuesday, 22 November, 11