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
41
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
Package Management Learnings from Homebrew
mikemcquaid
0
230
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
700
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
300
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
CSC307 Lecture 04
javiergs
PRO
0
660
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
MUSUBIXとは
nahisaho
0
130
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
67
A better future with KSS
kneath
240
18k
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
My Coaching Mixtape
mlcsv
0
48
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
4 Signs Your Business is Dying
shpigford
187
22k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Making Projects Easy
brettharned
120
6.6k
Test your architecture with Archunit
thirion
1
2.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
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