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
Learn to use Git and Github
Search
Steve Klise
September 14, 2012
Technology
1
440
Learn to use Git and Github
Steve Klise
September 14, 2012
Tweet
Share
More Decks by Steve Klise
See All by Steve Klise
Shep, the thesis
sklise
1
140
Other Decks in Technology
See All in Technology
スタックチャン家庭用アシスタントへの道
kanekoh
0
110
QuickSight SPICE の効果的な運用戦略~S3 + Athena 構成での実践ノウハウ~/quicksight-spice-s3-athena-best-practices
emiki
0
270
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
1
590
CDK Toolkit Libraryにおけるテストの考え方
smt7174
1
520
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
180
Digitization部 紹介資料
sansan33
PRO
1
4.5k
AIでテストプロセス自動化に挑戦する
sakatakazunori
1
230
Contributing to Rails? Start with the Gems You Already Use
yahonda
2
120
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
130k
セキュアな社内Dify運用と外部連携の両立 ~AIによるAPIリスク評価~
zozotech
PRO
0
110
Delegating the chores of authenticating users to Keycloak
ahus1
0
180
LLM拡張解体新書/llm-extension-deep-dive
oracle4engineer
PRO
5
670
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
7
330
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
For a Future-Friendly Web
brad_frost
179
9.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Documentation Writing (for coders)
carmenintech
72
4.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Transcript
+ Learn to use Git, Github and the Terminal. While
we wait to start, do these 2 things please: Download & Install Git http://git-scm.com/download Signup for Github https://github.com/signup/free If you have Xcode installed you can skip this step. There will be no icon for Git
Today: What is Git What is Github Why you should
care Talking to your computer How to use Git & Github Advanced Usage
What is Git (big picture version) Git is a program
that saves snapshots of the les in a folder. A more powerful program akin to Versions or Time Machine.
What is Git (more speci c) Git takes a snapshot
when you tell it to.
Commit Lingo What Git calls each “snapshot.”
What is Git (more speci c) Git provides powerful tools
for combining and switching between these snapshots.
Repository Lingo A folder that is being tracked with Git.
Everything in the folder, and it’s history.
What is Github Github is a website where you can
share and collaborate on repositories you are tracking with Git.
Git is a program on your computer Github is a
website
Git & Github can talk to each other but they
are different separate things.
Git is a program on your computer Github is a
website
Why? My system isn’t broken. I’m in perfect control of
my versions.
No you aren’t.
Still not convinced?
Still not convinced?
Ok, ne, I’ll learn Git. How do I use Git?
By talking to your computer
Not this way.
Something like this.
Terminal Demo
$ ls $ cd ~/Desktop $ mkdir new_project $ cd
new_project $ touch hello.txt $ echo “Hello” >> hello.txt $ cat hello.txt $ pwd
Finally, Git.
1. Do work 2. Save changes (commit) 3. Share changes
(push) 4. Get changes (pull)
# Open Processing, save project $ cd ~/Desktop/demo $ git
init $ git status $ git add demo.pde $ git commit -m “First commit”
Explain what you did. It’s part of the documentation process.
Commit messages are you friend.
None
Make a Github repository
Put your Git repository on Github