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
77
[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
41
[dev-hours] Github-flow f.t git-flow
xluffy
1
95
[dev-hours] Intro Git for Dev
xluffy
0
96
Other Decks in Technology
See All in Technology
FastConnect の冗長性
ocise
1
9.6k
自動テストの世界に、この5年間で起きたこと
autifyhq
10
7.1k
PL900試験から学ぶ Power Platform 基礎知識講座
kumikeyy
0
110
High Performance PHP
cmuench
0
140
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
1.5k
5分で紹介する生成AIエージェントとAmazon Bedrock Agents / 5-minutes introduction to generative AI agents and Amazon Bedrock Agents
hideakiaoyagi
0
220
Culture Deck
optfit
0
330
組織貢献をするフリーランスエンジニアという生き方
n_takehata
1
1k
Datadog APM におけるトレース収集の流れ及び Retention Filters のはなし / datadog-apm-trace-retention-filters
k6s4i53rx
0
320
Datadogとともにオブザーバビリティを布教しよう
mego2221
0
130
WAF に頼りすぎない AWS WAF 運用術 meguro sec #1
izzii
0
460
Postmanを使いこなす!2025年ぜひとも押さえておきたいPostmanの10の機能
nagix
2
120
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
Automating Front-end Workflow
addyosmani
1367
200k
Six Lessons from altMBA
skipperchong
27
3.6k
Building Applications with DynamoDB
mza
93
6.2k
How to Ace a Technical Interview
jacobian
276
23k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
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