$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
[dev-hours] Intro Git command-line
Search
Quang Nguyễn
April 24, 2014
Technology
0
80
[dev-hours] Intro Git command-line
Quang Nguyễn
April 24, 2014
Tweet
Share
More Decks by Quang Nguyễn
See All by Quang Nguyễn
Docker for Developer
xluffy
0
44
[dev-hours] Github-flow f.t git-flow
xluffy
1
100
[dev-hours] Intro Git for Dev
xluffy
0
100
Other Decks in Technology
See All in Technology
ウェルネス SaaS × AI、1,000万ユーザーを支える 業界特化 AI プロダクト開発への道のり
hacomono
PRO
0
120
Oracle Cloud Infrastructure IaaS 新機能アップデート 2025/09 - 2025/11
oracle4engineer
PRO
0
160
WordPress は終わったのか ~今のWordPress の制作手法ってなにがあんねん?~ / Is WordPress Over? How We Build with WordPress Today
tbshiki
1
810
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
14
6.3k
IAMユーザーゼロの運用は果たして可能なのか
yama3133
1
470
今年のデータ・ML系アップデートと気になるアプデのご紹介
nayuts
1
480
シニアソフトウェアエンジニアになるためには
kworkdev
PRO
3
170
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
250
2025年 開発生産「可能」性向上報告 サイロ解消からチームが能動性を獲得するまで/ 20251216 Naoki Takahashi
shift_evolve
PRO
1
200
ディメンショナルモデリングを支えるData Vaultについて
10xinc
1
100
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
220
【U/day Tokyo 2025】Cygames流 最新スマートフォンゲームの技術設計 〜『Shadowverse: Worlds Beyond』におけるアーキテクチャ再設計の挑戦~
cygames
PRO
2
530
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Music & Morning Musume
bryan
46
7k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The Cult of Friendly URLs
andyhume
79
6.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
The Language of Interfaces
destraynor
162
25k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
100
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Transcript
~ $ 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