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
Search
Alejandro
April 24, 2015
Programming
1
110
Git Basics
A begginer presentation to Git
Alejandro
April 24, 2015
Tweet
Share
More Decks by Alejandro
See All by Alejandro
FP - EP
atrianac
0
56
Git Basics - Part 2
atrianac
0
88
Other Decks in Programming
See All in Programming
2026年 エンジニアリング自己学習法
yumechi
0
140
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
200
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
470
atmaCup #23でAIコーディングを活用した話
ml_bear
3
430
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
160
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
490
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1.1k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
170
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
Python’s True Superpower
hynek
0
160
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
210
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
150
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
75
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Code Reviewing Like a Champion
maltzj
527
40k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
460
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
650
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
340
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Transcript
None
• • • • • • •
None
None
None
None
None
None
None
None
None
None
cd directory git init git init directory git init --bare
directory
git clone url_repository file:///path/repository /path/repository https://path/repository.git ssh://user@server:repo.git
None
git config git config --global git config git config --system
/etc/gitconfig ~/gitconfig .git/config
git config user.name <username> git config user.email <email> git config
--global alias.<alias> <command> git config --system core.editor <editor.executable> git config --edit
None
None
git add <file-name> git add <directory-name> git add --all
git commit git commit -m
None
git status
git log git log -n git log --oneline git log
<file> git log –-graph –-decorate --oneline
commit 33d8054198f7a8f580f74eb4379ee86b87ca74c8 SHA-1 40 characters
None
git checkout
a1b8gte e30213 master b1b8la9 33d805 HEAD
a1b8gte e30213 master b1b8la9 33d805 HEAD git checkout e30213
git checkout <commit> <file> git checkout <commit> git checkout HEAD
………
git revert
a1b8gte e30213 master b1b8la9 HEAD
a1b8gte e30213 master b1b8la9 43d805 HEAD git revert b1b8la9
git revert <commit> git revert HEAD
git reset
a1b8gte e30213 master b1b8la9 43d805 HEAD
a1b8gte e30213 master b1b8la9 HEAD git reset e30213
git revert <commit> git revert HEAD
None