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
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
680
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
AI巻き込み型コードレビューのススメ
nealle
1
150
Package Management Learnings from Homebrew
mikemcquaid
0
210
SourceGeneratorのススメ
htkym
0
190
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
710
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Building an army of robots
kneath
306
46k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
320
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
エンジニアに許された特別な時間の終わり
watany
106
230k
Agile that works and the tools we love
rasmusluckow
331
21k
Scaling GitHub
holman
464
140k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
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