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 - What Matters - Introduction-from Github t...
Search
Adam Quinton
October 01, 2015
Programming
0
38
Git - What Matters - Introduction-from Github to Clone
Minimalistic introduction to git and Github.
Adam Quinton
October 01, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
Kotlin Multiplatform at Stable and Beyond (Kotlin Vienna, October 2024)
zsmb
2
330
複数プロダクトの技術改善・クラウド移行に向き合うチームのフレキシブルなペア・モブプログラミングの実践 / Flexible Pair Programming And Mob Programming
honyanya
0
170
利用者視点で考える、イテレータとの上手な付き合い方
syumai
4
210
Micro Frontends for Java Microservices - dev2next 2024
mraible
PRO
0
190
RDBの世界をぬりかえていくモデルグラフDB〜truncus graphによるモデルファースト開発〜
jurabi
0
150
Remix × Cloudflare Pages × Sentry 奮闘記 / remix-pages-sentry
nkzn
1
370
標準ライブラリの動向とイテレータのパフォーマンス
makki_d
3
190
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
1.1k
データサイエンスのフルサイクル開発を実現する機械学習パイプライン
xcnkx
2
470
Unlocking Python's Core Magic
leew
0
120
M5Stackボードの選び方
tanakamasayuki
0
200
学生の時に開催したPerl入学式をきっかけにエンジニアが組織に馴染むために勉強会を主催や仲間と参加して職能間の境界を越えていく
ohmori_yusuke
1
110
Featured
See All Featured
Unsuck your backbone
ammeep
667
57k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
403
65k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
249
21k
How GitHub (no longer) Works
holman
311
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
26
4k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Statistics for Hackers
jakevdp
796
220k
Gamification - CAS2011
davidbonilla
80
5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
What's in a price? How to price your products and services
michaelherold
243
11k
Transcript
commit push git github branch pull request pull repository master
fork origin local remote upstream clone checkout cherry pick merge
github what matters
what matters? commit push git github branch pull request pull
repository master fork origin local remote upstream merge clone checkout cherry pick
not much commit push git github pull repository master local
clone
important add commit push pull 99% once rolling
background github
background github github is a hosting service for git
background github github is a hosting service for git git
is a version control system (vcs)
background github github is a hosting service for git git
is a version control system (vcs) a vcs tracks changes of a repository
background github github is a hosting service for git git
is a version control system (vcs) a vcs tracks changes of a repository a repository contains a project and it’s history
background github git is underneath github
background github git is underneath github git is a command
line tool
background github git is underneath github git is a command
line tool github is a web-interface with some features
background github git is underneath github git is a command
line tool github is a web-interface with some features some git knowledge is still needed
git commands
git commands git commands are preceded by git
git clone
clone copies a repository to your local computer
clone copies a repository to your local computer history kept
in .git (hidden folder)
clone copies a repository to your local computer history kept
in .git (hidden folder) never manually change .git directory
clone copies a repository to your local computer usage: git
clone https://github.com/user-name/repository-name
clone copies a repository to your local computer usage: git
clone https://github.com/user-name/repository-name downloads repository-name folder in current folder
clone copies a repository to your local computer usage: git
clone https://github.com/user-name/repository-name downloads repository-name folder in current folder all changes are local until pushing
git push
push upload local changes to remote
push upload local changes to remote changes invisible until commit
push upload local changes to remote changes invisible until commit
must understand the three states
push upload local changes to remote changes invisible until commit
must understand the three states https://git-scm.com/book/en/v2/Getting-Started-Git-Basics#The-Three-States
git pull
pull downloads latest changes to local