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
180
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
78
Other Decks in Technology
See All in Technology
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
5
380
開発生産性向上サービスを作るFindyが自分たちで開発生産性を爆上げした組織づくりの歩み / Findy's path to boosting its own development productivity 2024-04-17
ma3tk
3
630
MySQL の SQL クエリチューニングの要所を掴む勉強会
andpad
2
6.1k
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
160
DevOpsDays History and my DevOps story
kawaguti
PRO
9
2.5k
Java EE/Jakarta EEの現状と将来―クラウドネイティブ時代にJava EEは対応できるのか?―
takakiyo
1
140
Next'24 事例セッションの紹介とクラウド資格を活用したキャリア形成について語りMuscle
yasumuusan
1
430
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.3k
Cracking the KubeCon CfP
inductor
2
240
継続的な改善 x ⾮連続的な進化
sansantech
PRO
3
150
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
0
120
Featured
See All Featured
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Building an army of robots
kneath
300
41k
What the flash - Photography Introduction
edds
64
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
Practical Orchestrator
shlominoach
182
9.7k
Statistics for Hackers
jakevdp
789
220k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Scaling GitHub
holman
457
140k
Adopting Sorbet at Scale
ufuk
68
8.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
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