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
CSC305 Lecture 10
javiergs
PRO
0
260
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.4k
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
AkarengaLT vol.38
hashimoto_kei
1
120
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
290
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
1.6k
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
900
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
450
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
110
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
240
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.1k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Done Done
chrislema
185
16k
Six Lessons from altMBA
skipperchong
29
4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
The World Runs on Bad Software
bkeepers
PRO
72
11k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
640
The Pragmatic Product Professional
lauravandoore
36
7k
Typedesign – Prime Four
hannesfritz
42
2.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Practical Orchestrator
shlominoach
190
11k
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