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
110
Crashing an app 40 times a day - A Developer Story
yelinaung
0
200
Andorid Bootcamp
yelinaung
1
320
Introduction to GDG Yangon
yelinaung
2
160
Kickstarting Your First Android App
yelinaung
1
130
How To Ask Technical Questions and Answers
yelinaung
0
110
Other Decks in Programming
See All in Programming
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
2026年 エンジニアリング自己学習法
yumechi
0
130
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
MUSUBIXとは
nahisaho
0
130
CSC307 Lecture 06
javiergs
PRO
0
680
Architectural Extensions
denyspoltorak
0
270
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
CSC307 Lecture 04
javiergs
PRO
0
660
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
130
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
First, design no harm
axbom
PRO
2
1.1k
Paper Plane
katiecoart
PRO
0
46k
The Curious Case for Waylosing
cassininazir
0
230
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!