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
[Sokoos][教育訓練] Git - 1
Search
HeChien Hsu
September 04, 2013
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[Sokoos][教育訓練] Git - 1
第一次教授Git
HeChien Hsu
September 04, 2013
More Decks by HeChien Hsu
See All by HeChien Hsu
Using Git hosting
hechien
0
60
[Kaohsiung Rails meetup] 國際化影片分享網站
hechien
0
180
[Wheel Lab #2] Apple Service with Rails.
hechien
0
93
[數位教學] 用Bootstrap製作網頁
hechien
0
1.3k
DesignYou - 專題報告投影片
hechien
0
130
[作業] 創意美學
hechien
0
71
[教育訓練] Rails Form Basic
hechien
1
87
[教育訓練] Rails Validation Basic
hechien
1
100
Rails Layout Basic
hechien
2
140
Other Decks in Technology
See All in Technology
コネクションをピン留めさせずに SELECTクエリのタイムアウトを設定した話
codmoninc
0
170
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
120
平文パスワードはログに“残り” ── 肝心の侵入は“痕跡すら残らない”
kuroneko13
0
110
三人寄ればチューリング完全
puhitaku
1
110
도구에서 동료까지: 10년차 AI 스타트업의 AI 적응기
inureyes
PRO
1
270
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
240
【書籍出版記念】 10周回って、エージェント開発は RAGがすべてだった。〜RAGの歴史と開発現場で見えた実践知〜
akiratameto
3
380
私がブラウザを自作したくなった理由
supurazako
1
270
【AG-UI × A2UI × MCP Apps】Generative UIをやさしく解説する
nrinetcom
PRO
1
150
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
310
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
180
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
0
120
Featured
See All Featured
Abbi's Birthday
coloredviolet
3
9.4k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
470
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
660
Paper Plane (Part 1)
katiecoart
PRO
1
10k
Paper Plane
katiecoart
PRO
2
53k
Building an army of robots
kneath
306
46k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Utilizing Notion as your number one productivity tool
mfonobong
4
550
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
290
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Transcript
Git 徐赫謙
Git ⼯工作區 (local) working staging repository git add files =>
git commit =>
Git local / remote local repository remote repository <= git
pull git push => <= git clone
⼯工作流程 • git init || git clone • (coding ...)
• git add files • git commit -m “message”
取消staging? • git reset • git checkout .
branch? • git branch new_branch • 可以建⽴立new_branch分⽀支 • git checkout
new_branch • 切到new_branch分⽀支 • git checkout -b another_new_branch • 建⽴立並且切到another_new_branch分⽀支
與遠端say hello • git remote add origin xxxx • git
remote add bitbucket git@bitbucket.... • git remote -v <= 可以觀看有哪些remote
push / pull • git push origin master • git
push ⺫⽬目的地 ⺫⽬目標branch • git pull origin master • git pull 來源地 來源branch
Conflict? • ⼿手動修掉錯誤,然後重新commit
最佳流程 • 先checkout到新的分⽀支 • git pull到新的分⽀支確認merge不會爛 • checkout回⾃自⼰己的⼯工作分⽀支後merge • git
push
開發流程 • master永遠是deploy-ready • 開發最後都併到develop分⽀支 • 開發都⽤用票號開分⽀支解票
名詞解釋 • branch - 分⽀支 • HEAD - current branch
操作流程範例 • http://josephj.com/entry.php?id=308 • http://ihower.tw/blog/archives/6696