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 Introduction For Beginners
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Aaron Wang
November 08, 2013
Programming
0
47
Git Introduction For Beginners
Aaron Wang
November 08, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
SourceGeneratorのマーカー属性問題について
htkym
0
220
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
3.7k
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
530
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
100
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
180
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
110
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
190
PHPで TLSのプロトコルを実装してみる
higaki_program
0
440
ファインチューニングせずメインコンペを解く方法
pokutuna
0
170
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
560
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
290
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
270
New Earth Scene 8
popppiees
1
1.8k
How GitHub (no longer) Works
holman
316
150k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
It's Worth the Effort
3n
188
29k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
590
The SEO Collaboration Effect
kristinabergwall1
0
400
The Cult of Friendly URLs
andyhume
79
6.8k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Being A Developer After 40
akosma
91
590k
Designing Experiences People Love
moore
143
24k
Transcript
Git Introduction For Beginners Aaron Wang 2013/11/07
What's Git • A version control system. • A stupid
content tracker. • Started by Linus Torvalds for Linux kernel development @ 2005
Git Characteristics • Distributed & Decentralized, client = server •
Fast Branching & Merging • Efficient In Storage & Network • Toolkit Based Design • Flexible Workflow
Get Started • git config --global user.name <name> git config
--global user.email <email> • git init/git clone <url> • git status, git diff, git add <filename> • git commit -m <msg> • git log
Local Operations • Git Directory • Working Directory • Index
Remote Operations • git remote add <name> <url> • git
pull = git fetch + git merge • git push
Understanding Branch • git checkout -b <name> • git branch
• git merge <name>[, solve conflicts, git commit] • Branch is just a ref to a commit • It moves X---Y---X topic / \ A---B---C---D---H master
Data Model
Centralized Workfow • Like the other VCSs • “Better not
use git as svn!”
Feature Branch • Develop features in separated branch • pull/merge
requests
gitflow
References https://github.com/inetfuture/technote/blob/master/git .md
What's GitLab • An open source copy of GitHub •
Self hosted git management application – Access control – Merge requests / code review – Web hooks – Simple issue tracker – Simple wiki system
How GitLab Works RoR Background Worker Open SSH .authorized_keys User
GitLab Shell Git
Markdown • A lightweight markup language(Textile/BBCode/MediaWiki) => HTML • Created
by John Gruber and Aaron Swartz • Flavors: – PHP Extra – StackOverflow – GitHub – GitLab http://git.augmentum.com.cn/help/markdown
Thanks