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 VCS - Talk @PHP User Group Malang, March 9 ...
Search
Achmad Mahardi
March 09, 2015
Programming
140
1
Share
Git VCS - Talk @PHP User Group Malang, March 9 2015
Git - Open Source, Distributed, Speedy, and Efficient version manager.
Achmad Mahardi
March 09, 2015
More Decks by Achmad Mahardi
See All by Achmad Mahardi
CSS Modules - Talk @Malang Front-End, January 8 2016
maman
2
180
Webpack Assets Loading - Talk @PHP User Group Malang, March 2015
maman
0
110
Material Resource Planning - OpenERP Manufacturing Management
maman
0
250
Material Resource Planning - OpenERP Warehouse Management
maman
0
110
Other Decks in Programming
See All in Programming
Road to RubyKaigi: Play Hard(ware)
makicamel
1
530
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
340
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
160
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.1k
AIと共に生きる技術選定 2026
sgash708
0
120
t *testing.T は どこからやってくるの?
otakakot
1
890
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
460
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
2
290
KMP × Kotlin 2.3 - How Android Got Slower While iOS Builds Improved by 47%
rio432
0
110
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
160
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
300
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
190
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
RailsConf 2023
tenderlove
30
1.4k
The Curious Case for Waylosing
cassininazir
0
340
Building Applications with DynamoDB
mza
96
7k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
380
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
The Pragmatic Product Professional
lauravandoore
37
7.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Odyssey Design
rkendrick25
PRO
2
610
Transcript
GIT VCS @achmadmahardi
Achmad Mahardi • Frontend Devs • Server side languages (PHP,
NodeJS, C#) • Unix aficionados
GIT Open Source - Distributed - Speedy - Efficient -
*is • (almost) Everything local • No network needed •
Immutable
• Backup tool • Binary file storage/diff/apapun • Github/Bitbucket/apapun *is
not
INSTALASI
msysgit built-in / brew install git
apt-‐get install git / yum install git pkg_add -‐r git via ports / donlot source, kompel dewe
FIRST STEPS
git config -‐-‐global user.name "..." git config -‐-‐global user.email
"..." git config user.name "..." git config user.email "..." ~
git config -‐-‐global color.ui true
*optional* ENVARS • EXPORT PAGER=less • EXPORT EDITOR=nano
GETTING STARTED
git init Membuat repository baru
None
git status Melihat status repository
git add Masukkan/track file ke repository
*gitignore • curl -‐L -‐s https:// www.gitignore.io/api/ $LANG •
binary files • autogenerated files • autogenerated folders
git commit Fix-kan perubahan, catat history (delta)
*commit convention • Jelaskan perubahan • Singkat padat jelas •
Max 50 karakter/line
*commit convention -cont • curl -‐L http://git.io/xTwk • GitHub
specific syntaxes
SYNC& REMOTES& BRANCHES. github.
mabes open source forex IB client area. vagrant, PHP5, bootstrap
+ LESS
git remote mengatur referensi ke remote repo add <name> <url>
rm <name> rename <old> <new>
git fetch import commit dari remote ke local
None
git fetch import commit dari remote ke local
git merge Merge changes dari remote-referenced branch ke master branch
kita
*merge vs rebase • merge = direct merging • rebase
= prevent unnecessary git config -‐-‐global branch.autosetuprebase always
*mengenai git pull • fetch + merge • --rebase =
fetch + rebase
git push export commit dari local ke remote ➜
git branch manajemen branch.
branching
None
None
None
None
fast-forward merge
3-way merge
*github • fast-forward merge otomatis • close issues via commit
message • integration (travis, scrutinizer, slack, ...)
DEVELOPMENT PRACTICES advanced chapter
• sering sering commit & resync • three-tier development (dev,
staging, prod). • patuhi commit convention / buat commit convention u/ team. • gitignore, .gitignore, .gitignore
None
None
None
&
None
*+++ • isolated • through-testing • rolling-release • lebih gampang
u/ revert
*lagi? • https://speakerdeck.com/ schacon/introduction-to-git • https://speakerdeck.com/ holman/more-git-and-github- secrets • https://www.atlassian.com/git/
/maman /achmadmahardi /Achmad.mahardi Pertanyaan/Diskusi? Malang PHP User Group