Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git Basics
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alejandro
April 24, 2015
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git Basics
A begginer presentation to Git
Alejandro
April 24, 2015
More Decks by Alejandro
See All by Alejandro
FP - EP
atrianac
0
56
Git Basics - Part 2
atrianac
0
89
Other Decks in Programming
See All in Programming
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
気持ちぃ〜角丸 Squircle
ryu1013
0
310
APNsからLive Activityを開始する話
yumnumm
0
170
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
golang-bob.pdf
iwatsukayura
0
130
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
450
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
ActionController meets Protocol Buffers
sorah
0
520
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
KATA
mclloyd
PRO
35
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
Design in an AI World
tapps
1
350
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Un-Boring Meetings
codingconduct
0
460
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
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