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 & Github 101
Search
Sam Mason
April 05, 2013
Technology
5
190
Git & Github 101
Slides for talk at Untangle the Web 8/4/2013 @ Google Campus
Sam Mason
April 05, 2013
Tweet
Share
More Decks by Sam Mason
See All by Sam Mason
Working with Gulp, Neat & Bourbon
samjbmason
0
1.2k
Introduction to gruntjs
samjbmason
1
270
First steps in the web - Wordpress as a CMS
samjbmason
2
88
Other Decks in Technology
See All in Technology
関東Kaggler会LT: 人狼コンペとLLM量子化について
nejumi
3
540
速くて安いWebサイトを作る
nishiharatsubasa
9
11k
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
140
MC906491 を見据えた Microsoft Entra Connect アップグレード対応
tamaiyutaro
1
520
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1k
偶然 × 行動で人生の可能性を広げよう / Serendipity × Action: Discover Your Possibilities
ar_tama
1
990
Postmanを使いこなす!2025年ぜひとも押さえておきたいPostmanの10の機能
nagix
2
140
2024.02.19 W&B AIエージェントLT会 / AIエージェントが業務を代行するための計画と実行 / Algomatic 宮脇
smiyawaki0820
10
1.5k
OpenID BizDay#17 KYC WG活動報告(法人) / 20250219-BizDay17-KYC-legalidentity
oidfj
0
140
第13回 Data-Centric AI勉強会, 画像認識におけるData-centric AI
ksaito_osx
0
370
Oracle Cloud Infrastructure:2025年2月度サービス・アップデート
oracle4engineer
PRO
1
140
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
670
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Thoughts on Productivity
jonyablonski
69
4.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
How STYLIGHT went responsive
nonsquared
98
5.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
Hi I’m Sam This is an Octocat -->
@samjbmason Developer at Benchmark Studios
Talking about Git & Github
Look familiar?
Teamwork!
Think of Git as a toolbox!
Install Head over to http://git-scm.com/ Download and run installer gui
/ apps Tower for OSX Github app OSX & Windows
Initialize git init Creates the necessary hidden git files within
a project / repo, only needs to be ran once per project
Add git add . or index.html Enables git to become
aware of files and folders within a project Can either add all files and folders using dot or individual files Still just observing from afar
Commit git commit -m “A message” Most frequently used command
Takes a snapshot of your code at that point in time Allows you to add a descriptive message Can commit all files or a select few
Push git push Only used when working with remote servers
Uploads all of your commits to server Will only push commits
Pull git pull Only used when working with remote servers
Will pull/ download any commits from remote server Attempts to merge two versions
Branching Allows you to split your code so you can
work on another version separately without it messing up your master branch. Master Branch --> <-- Feature Branch
Making git cool Allows collaborating on projects as simple as
a couple of clicks of a button Comes with some awesome extra features FREE (for public repos)
Thanks @samjbmason