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
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing Hiroshima 2025 Edition
tomzoh
0
140
物体検出モデルでシイタケの収穫時期を自動判定してみた。 #devio2025
lamaglama39
0
150
フレームワークを意識させないワークショップづくり
keigosuda
0
200
ソースを読むプロセスの例
sat
PRO
13
7k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
43k
これがLambdaレス時代のChatOpsだ!実例で学ぶAmazon Q Developerカスタムアクション活用法
iwamot
PRO
8
1.1k
ユーザーの声とAI検証で進める、プロダクトディスカバリー
sansantech
PRO
1
140
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
220
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
160
Digitization部 紹介資料
sansan33
PRO
1
5.5k
今この時代に技術とどう向き合うべきか
gree_tech
PRO
2
1.9k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Site-Speed That Sticks
csswizardry
12
900
Navigating Team Friction
lara
190
15k
Thoughts on Productivity
jonyablonski
70
4.9k
Embracing the Ebb and Flow
colly
88
4.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
How GitHub (no longer) Works
holman
315
140k
The Cult of Friendly URLs
andyhume
79
6.6k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Designing Experiences People Love
moore
142
24k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
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