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
[dev-hours] Intro Git command-line
Search
Quang Nguyễn
April 24, 2014
Technology
0
78
[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
42
[dev-hours] Github-flow f.t git-flow
xluffy
1
100
[dev-hours] Intro Git for Dev
xluffy
0
97
Other Decks in Technology
See All in Technology
BPaaSにおける人と協働する前提のAIエージェント-AWS登壇資料
kentarofujii
0
120
役割は変わっても、変わらないもの 〜スクラムマスターからEMへの転身で学んだ信頼構築の本質〜 / How to build trust
shinop
0
160
AWS環境のリソース調査を Claude Code で効率化 / aws investigate with cc devio2025
masahirokawahara
2
1.3k
生成AI時代のデータ基盤設計〜ペースレイヤリングで実現する高速開発と持続性〜 / Levtech Meetup_Session_2
sansan_randd
1
140
Vault meets Kubernetes
mochizuki875
0
270
データアナリストからアナリティクスエンジニアになった話
hiyokko_data
2
420
ヘブンバーンズレッドのレンダリングパイプライン刷新
gree_tech
PRO
0
550
ChatGPTとPlantUML/Mermaidによるソフトウェア設計
gowhich501
1
120
Obsidian応用活用術
onikun94
1
390
2025年になってもまだMySQLが好き
yoku0825
8
4k
AI時代にPdMとPMMはどう連携すべきか / PdM–PMM-collaboration-in-AI-era
rakus_dev
0
280
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
170
Featured
See All Featured
Embracing the Ebb and Flow
colly
87
4.8k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
BBQ
matthewcrist
89
9.8k
Into the Great Unknown - MozCon
thekraken
40
2k
Statistics for Hackers
jakevdp
799
220k
Designing for Performance
lara
610
69k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Music & Morning Musume
bryan
46
6.8k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Unsuck your backbone
ammeep
671
58k
Being A Developer After 40
akosma
90
590k
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