Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[dev-hours] Intro Git command-line
Search
Quang Nguyễn
April 24, 2014
Technology
90
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[dev-hours] Intro Git command-line
Quang Nguyễn
April 24, 2014
Transcript
17 slides
~ $ echo "svn or subversion" | sed 's/svn\|subversion/git/g'
~$ whoami
None
None
None
None
None
Learn git CLI by heart, stop using GUI
Tập tin cấu hình của git đặt tại ~/.gitconfig hoặc
tại mỗi repo GIT_DIR/.git/config
~$ git init ~$ git init /path/repo ~$ git clone
http://git.tx.x/y.git ~$ git clone
[email protected]
/y.git
~$ git status (git st) ~$ git diff ~$ git
add index.php ~$ git commit –m”Good msg” <file.x> ~$ git commit –amend
~$ git logf ~$ git lol ~$ git lola ~$
git hit
~$ git branch ~$ git co <branch> ~$ git branch
<new_branch> ~$ git branch –d <branch> ~$ git tag <tag-name>
~$ git remote –v ~$ git remote show <remote> ~$
git remote add <remote> <url> ~$ git featch <remote> ~$ git pull <remote> <branch> ~$ git push <remote> <branch>
~$ git reset --hard HEAD ~$ git checkout HEAD <file>
~$ git revert <commit> ~$ git reset --hard <commit> ~$ git reset <commit>
[1] http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/vi/ [Tài liệu Git Magic, Tiếng Việt của dịch
giả Trần Ngọc Quân] [2] http://gitref.dragula.viettug.org/ [Tài liệu GitRef, Tiếng Việt của dịch giả Anh.K.Huỳnh]
None
More Decks by Quang Nguyễn
See All by Quang Nguyễn
Docker for Developer
xluffy
0
58
[dev-hours] Github-flow f.t git-flow
xluffy
1
130
[dev-hours] Intro Git for Dev
xluffy
0
120
Other Decks in Technology
See All in Technology
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
200
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
4
980
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
240
こんなに変わった! AWSネットワークの常識
shotashiratori
16
12k
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
240
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
450
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
330
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
1
280
現地速報! Microsoft Ignite アップデートレポート
kasada
1
460
gradle-best-practices 使ってみた
mikanichinose
0
230
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
850
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
GitHub's CSS Performance
jonrohan
1033
470k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Automating Front-end Workflow
addyosmani
1370
210k
Making the Leap to Tech Lead
cromwellryan
135
10k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
Believing is Seeing
oripsolob
1
290
Practical Orchestrator
shlominoach
192
12k