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
Git Basics - Part 2
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Alejandro
April 30, 2015
Programming
0
88
Git Basics - Part 2
A begginer presentation to Git
Alejandro
April 30, 2015
Tweet
Share
More Decks by Alejandro
See All by Alejandro
FP - EP
atrianac
0
56
Git Basics
atrianac
1
110
Other Decks in Programming
See All in Programming
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
440
Premier Disciplin for Micro Frontends Multi Version/ Framework Scenarios @OOP 2026, Munic
manfredsteyer
PRO
0
130
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
650
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
CSC307 Lecture 06
javiergs
PRO
0
690
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
150
ぼくの開発環境2026
yuzneri
0
260
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
150
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2.1k
Oxlintはいいぞ
yug1224
5
1.4k
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Balancing Empowerment & Direction
lara
5
900
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Designing for Performance
lara
611
70k
GitHub's CSS Performance
jonrohan
1032
470k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
210
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
120
Rails Girls Zürich Keynote
gr2m
96
14k
Transcript
None
• • •
None
None
git clone
git clone
git remote
git remote git remote -v git remote add <name> <repo-url>
git remote rm <name> <file> git remote rename <oldname> <newname>
git push
44f100
git push 44f100 44f100
git push <remote> <branch> git push <remote> --all git push
<remote> --force
git pull
git pull 33d805 e30213 b1b8la9 33d805 e30213 b1b8la9 33d805 e30213
b1b8la9
git pull git pull <remote>
git fetch
33d805 e30213 b1b8la9
git fetch 33d805 e30213 b1b8la9 33d805 e30213 b1b8la9
git fetch <remote> git fetch <remote> <branch> git fetch --all
None
None
git branch
a1b8gte e30213 master b1b8la9 HEAD
a1b8gte e30213 master b1b8la9 b1 HEAD git branch b1
a1b8gte e30213 master b1b8la9 b1 HEAD git branch b1 git
checkout b1
a1b8gte e30213 master b1b8la9 b1 HEAD git branch b1 git
checkout b1 f43402 f43402 git commit …
a1b8gte e30213 master b1b8la9 b1 HEAD git branch b1 git
checkout b1 f43402 f43402 git commit … git checkout master
git branch git checkout git checkout -b
None
git merge
master b1
master b1 git merge b1
master b1
master b1 git merge b1
b1 git merge –no-ff b1 master
git merge <branch> git merge –no-ff <branch>
git rebase
master b1
master b1 git rebase master
git rebase <remote>
git rebase -i
pick 33d5b7a Message for commit #1 pick 9480b3d Message for
commit #2 pick 5c67e61 Message for commit #3 pick reword squash fixup
a1b8gte e30213 b1b8la9 b1 f43402 a53904 c38762 d60c81 master d70c40
db51f4
pick d70c40 Message for commit #1 squash db51f4 Message for
commit #2 squash f43402 Message for commit #3 …. pick reword squash fixup
a1b8gte e30213 b1b8la9 b1 d70c40 c38762 d60c81 master
None