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
Agile PBL at New Grads Trainings
kawaguti
PRO
1
440
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
460
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
190
roppongirb_20250911
igaiga
1
240
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.8k
バイブスに「型」を!Kent Beckに学ぶ、AI時代のテスト駆動開発
amixedcolor
2
570
ハードウェアとソフトウェアをつなぐ全てを内製している企業の E2E テストの作り方 / How to create E2E tests for a company that builds everything connecting hardware and software in-house
bitkey
PRO
1
150
TS-S205_昨年対比2倍以上の機能追加を実現するデータ基盤プロジェクトでのAI活用について
kaz3284
1
170
Modern Linux
oracle4engineer
PRO
0
100
AWSで始める実践Dagster入門
kitagawaz
1
620
20250913_JAWS_sysad_kobe
takuyay0ne
2
230
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
2
660
Featured
See All Featured
Fireside Chat
paigeccino
39
3.6k
Speed Design
sergeychernyshev
32
1.1k
Building Adaptive Systems
keathley
43
2.7k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Statistics for Hackers
jakevdp
799
220k
A Modern Web Designer's Workflow
chriscoyier
696
190k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How STYLIGHT went responsive
nonsquared
100
5.8k
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