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
47
Git Introduction For Beginners
Aaron Wang
November 08, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
5.8k
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
190
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
320
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
220
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
170
効率的な開発手段として VRTを活用する
ishkawa
0
140
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
790
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
130
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
820
VS Code Update for GitHub Copilot
74th
2
650
Discover Metal 4
rei315
2
140
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
2
150
Featured
See All Featured
Navigating Team Friction
lara
187
15k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Designing for humans not robots
tammielis
253
25k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Visualization
eitanlees
146
16k
For a Future-Friendly Web
brad_frost
179
9.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
820
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Facilitating Awesome Meetings
lara
54
6.4k
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