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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Quang Nguyễn
April 24, 2014
Technology
0
82
[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
110
[dev-hours] Intro Git for Dev
xluffy
0
100
Other Decks in Technology
See All in Technology
アーキテクチャモダナイゼーションを実現する組織
satohjohn
1
1.1k
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
480
Mitigating geopolitical risks with local-first software and atproto
ept
0
120
Keycloak を使った SSO で CockroachDB にログインする / CockroachDB SSO with Keycloak
kota2and3kan
0
170
Kiro Powers 入門
k_adachi_01
0
120
生成AI活用でQAエンジニアにどのような仕事が生まれるか/Support Required of QA Engineers for Generative AI
goyoki
1
310
頼れる Agentic AI を支える Datadog のオブザーバビリティ / Powering Reliable Agentic AI with Datadog Observability
aoto
PRO
0
220
2026-03-11 JAWS-UG 茨城 #12 改めてALBを便利に使う
masasuzu
2
400
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
4
410
20260311 ビジネスSWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
350
20年以上続く PHP 大規模プロダクトを Kubernetes へ ── クラウド基盤刷新プロジェクトの4年間
oogfranz
PRO
0
100
AI時代の「本当の」ハイブリッドクラウド — エージェントが実現した、あの頃の夢
ebibibi
0
150
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
85
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Fireside Chat
paigeccino
42
3.8k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
180
How to Ace a Technical Interview
jacobian
281
24k
Technical Leadership for Architectural Decision Making
baasie
3
300
The World Runs on Bad Software
bkeepers
PRO
72
12k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
Statistics for Hackers
jakevdp
799
230k
Mobile First: as difficult as doing things right
swwweet
225
10k
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