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 Lesson
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Oursky Limited
November 22, 2011
Programming
580
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
540
SSH Can
oursky
1
340
HTTP/2
oursky
0
380
watchOS2
oursky
0
370
Common QA issues
oursky
0
230
Complex is better than complicated
oursky
0
310
Clean code again
oursky
3
410
KiriKiri x O2 x NVLMarker
oursky
0
270
Flux + React
oursky
1
420
Other Decks in Programming
See All in Programming
Oxcを導入して開発体験が向上した話
yug1224
4
340
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
さぁV100、メモリをお食べ・・・
nilpe
0
150
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
13k
Vite+ Unified Toolchain for the Web
naokihaba
0
340
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
2
710
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
14
5.8k
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
390
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.2k
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
6.5k
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
120
Contextとはなにか
chiroruxx
1
370
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
450
Tell your own story through comics
letsgokoyo
1
960
Raft: Consensus for Rubyists
vanstee
141
7.6k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
400
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
620
How to build a perfect <img>
jonoalderson
1
5.7k
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