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
430
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
AI時代のアジャイル開発(XP祭り2024版) / Agile Development in the AI Era in XPJUG
takaking22
13
3.5k
Oracle Database 23ai 新機能#4 Real Application Clusters
oracle4engineer
PRO
0
110
DenoでもViteしたい!インポートパスのエイリアスを指定してラクラクアプリ開発
bengo4com
1
1.7k
Azure Verified Moduleを触って分かった注目ポイント/azure-verified-module-begin
mhrtech
1
100
MLOpsの「あるある」課題の解決と、そのためのライブラリgokart
mski_iksm
1
150
HashHub会社案内「なぜ今、パブリックブロックチェーンに賭けるのか」
hashhub
3
75k
How CERN serves 1EB of data via FUSE
ennael
PRO
0
16k
【shownet.conf_】AI技術とUX監視の応用でShowNetの基盤を支えるモニタリングシステム
shownet
PRO
0
270
XP matsuri 2024 - 銀河英雄伝説に学ぶ
kawaguti
PRO
3
520
Consoles, printk, Nested-NMIs_ Oh my!
ennael
PRO
0
160
小さな勉強会の始め方、広げ方、あるいは友達の作り方 / How to Start, Grow, and Build Connections with Small Study Groups
ar_tama
2
1.3k
10Xでのデータ基盤の変遷とこれから: データマネジメントのリアル 〜BtoB企業3社の歩みとこれから〜
10xinc
6
1.2k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
87
5.6k
Six Lessons from altMBA
skipperchong
26
3.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
125
18k
What's in a price? How to price your products and services
michaelherold
243
11k
From Idea to $5000 a Month in 5 Months
shpigford
380
46k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
30
2.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
26
4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
41
9.2k
Designing for Performance
lara
604
68k
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