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
バイブスに「型」を!Kent Beckに学ぶ、AI時代のテスト駆動開発
amixedcolor
3
590
Generative AI Japan 第一回生成AI実践研究会「AI駆動開発の現在地──ブレイクスルーの鍵を握るのはデータ領域」
shisyu_gaku
0
330
新アイテムをどう使っていくか?みんなであーだこーだ言ってみよう / 20250911-rpi-jam-tokyo
akkiesoft
0
350
LLM時代のパフォーマンスチューニング:MongoDB運用で試したコンテキスト活用の工夫
ishikawa_pro
0
170
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
10
3.2k
Terraformで構築する セルフサービス型データプラットフォーム / terraform-self-service-data-platform
pei0804
1
200
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
590
「全員プロダクトマネージャー」を実現する、Cursorによる仕様検討の自動運転
applism118
22
12k
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
470
react-callを使ってダイヤログをいろんなとこで再利用しよう!
shinaps
2
270
メルカリIBISの紹介
0gm
0
420
Featured
See All Featured
Embracing the Ebb and Flow
colly
87
4.8k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
The Invisible Side of Design
smashingmag
301
51k
Scaling GitHub
holman
463
140k
Site-Speed That Sticks
csswizardry
10
820
Facilitating Awesome Meetings
lara
55
6.5k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
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