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
Version Control With Git
Search
Ye Lin Aung
January 24, 2014
Programming
1
110
Version Control With Git
My talk for UCSY IT Camp 2014 - Version Control with Git
Ye Lin Aung
January 24, 2014
Tweet
Share
More Decks by Ye Lin Aung
See All by Ye Lin Aung
Android Bootcamp Mandalay
yelinaung
0
100
Crashing an app 40 times a day - A Developer Story
yelinaung
0
190
Andorid Bootcamp
yelinaung
1
320
Introduction to GDG Yangon
yelinaung
2
160
Kickstarting Your First Android App
yelinaung
1
120
How To Ask Technical Questions and Answers
yelinaung
0
110
Other Decks in Programming
See All in Programming
マッチングアプリにおけるフリックUIで苦労したこと
yuheiito
0
190
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
180
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
200
Claude Code + Container Use と Cursor で作る ローカル並列開発環境のススメ / ccc local dev
kaelaela
12
7k
Python型ヒント完全ガイド 初心者でも分かる、現代的で実践的な使い方
mickey_kubo
1
240
効率的な開発手段として VRTを活用する
ishkawa
0
160
#QiitaBash MCPのセキュリティ
ryosukedtomita
1
1.5k
テスターからテストエンジニアへ ~新米テストエンジニアが歩んだ9ヶ月振り返り~
non0113
2
220
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
200
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
はじめてのWeb API体験 ー 飲食店検索アプリを作ろうー
akinko_0915
0
140
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
184
22k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
520
Building Adaptive Systems
keathley
43
2.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Gamification - CAS2011
davidbonilla
81
5.4k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Git: the NoSQL Database
bkeepers
PRO
430
65k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
Transcript
Version Control System with Git Zwenexsys
Zwenexsys About me
Zwenexsys Programmer at Zwenexsys http://zwenex.com
Zwenexsys What is VCS ? • Version control or Source
Control • Used in word processing, wiki system, software development
Zwenexsys Why VCS ? • To share your codes or
resources with others • To keep track of history • Easy to rollback
Zwenexsys Why VCS ?
Zwenexsys Why VCS ?
Zwenexsys What is • Open source distributed VCS • Initially
designed and developed by Linus Torvalds • Very popular
Zwenexsys Installation • Download from http://git-scm.com/ downloads • GUI Programs
http://git-scm.com/ downloads/guis
Zwenexsys Installation Windows http://help.github.com/win-set-up-git Mac http://help.github.com/mac-set-up-git Linux http://help.github.com/linux-set-up-git
Zwenexsys Installation
Zwenexsys Configuration In your terminal / command prompt git config
--global user.name "Your Name" git config --global user.email "
[email protected]
"
Zwenexsys Let’s start using it
Zwenexsys Initialization • Go to your project folder • Check
if it’s correct folder • Run git init
Zwenexsys Adding files git add . git commit -m “initial
commit”
Zwenexsys Steps Staging Area Dirty git add .
Zwenexsys Steps Staging Area Dirty Clean git add . git
commit -m “my commi
Zwenexsys Steps Staging Area Dirty Clean Make changes git add
. git commit -m “my commi
Zwenexsys Tracking History git log
Zwenexsys Current Status git status
Zwenexsys See the difference git diff
Zwenexsys Share with others • Push the local repo to
remote repo • Git Hosting • BitBucket ( www.bitbucket.org ) • GitHub ( www.github.com )
Zwenexsys Share with others • Create a repo at the
hosting • Add the address to the local repo git remote add origin <remote url>
Zwenexsys Share with others • Another user can “clone” it.
git clone <remote url>
Zwenexsys Share with others • Push it ! git push
origin master • Pull it! git pull origin master
Zwenexsys Share with others User A git add . git
commit -m “bug fix #1”
Zwenexsys Share with others User A git add . git
commit -m “bug fix #1” Remote Repo git push
Zwenexsys Share with others User A git add . git
commit -m “bug fix #1” Remote Repo git push User B git pull
Zwenexsys Share with others User A git add . git
commit -m “bug fix #1” Remote Repo git push User B git pull git add . git commit -m “bug fix #2”
Zwenexsys Share with others User A git add . git
commit -m “bug fix #1” Remote Repo git push User B git pull git add . git commit -m “bug fix #2” git push
Zwenexsys Share with others User A git add . git
commit -m “bug fix #1” Remote Repo git push User B git pull git add . git commit -m “bug fix #2” git push git pull
Zwenexsys Try it online • http://try.github.io • http://pcottle.github.io/learnGitBranching • https://www.codeschool.com/courses/git-real
Zwenexsys Q & A
Zwenexsys Thank you & have fun!