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
Aaron Wang
November 08, 2013
Programming
0
40
Git Introduction For Beginners
Aaron Wang
November 08, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
Hanami and htmx
bkuhlmann
0
190
SwiftUI Performance 不要なViewの再描画と更新を抑える
bigamitiongit
1
160
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
470
Tailwind CSSを本気でカスタマイズする方法
fsubal
4
320
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
350
プールにゆこう
irof
2
120
What We Can Learn From OSS
inouehi
0
400
StreamlitとTerraformでデータカタログを作った話
gussan0223
0
300
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
100
ゆるい個人開発のススメ
kuroppe1819
10
940
エンターテイメント業界で利用されるAWS
demuyan
0
200
Git Rebase
bkuhlmann
11
1.6k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
42
6.7k
Web Components: a chance to create the future
zenorocha
305
41k
What's new in Ruby 2.0
geeforr
337
31k
Docker and Python
trallard
33
2.7k
Designing for Performance
lara
601
67k
Building Adaptive Systems
keathley
30
1.8k
Happy Clients
brianwarren
91
6.4k
Debugging Ruby Performance
tmm1
70
11k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
356
22k
A better future with KSS
kneath
231
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
76
41k
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