Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
エンジニアの必需品 Gitを学ぼう! / Lets use Git for engineering!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
hsm_hx
April 20, 2019
Technology
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
エンジニアの必需品 Gitを学ぼう! / Lets use Git for engineering!
2019/04/20 ITエンジニアぴよぴよ会@やまぐち にて登壇したスライドです。
hsm_hx
April 20, 2019
Transcript
26 slides
PIYOPIYO@YAMAGUCHI Let's use Git for engineering! エンジニアの必需品 Gitを学ぼう! うべこうせん はすみ(@hsm_hx)
今日お話すること Gitって何? Gitのはじめかた どうやって使うの?
Gitって何? WHAT IS GIT?
Gitとは? Git(ギット)は、プログラムのソースコードなどの変更履歴を 記録・追跡するための分散型バージョン管理システムである。 出典 : Git - Wikipedia
Gitとは? A.cpp A.cpp Hello Hello World B.cpp Hello World ファイルの変更を記録
Gitとは? A.cpp A.cpp Hello Hello World B.cpp Hello World 変更にラベルを付け過去に戻る
① ② ③
Gitとは? ① ◦ ② ◦ ③ ✕ ④ ✕
Gitとは? ① ◦ ② ◦ ③ ✕ ④ ✕
Gitとは? ① ◦ ② ◦ ③ ✕ ④ ✕ ③´
◦
Gitのはじめかた HOW TO START GIT ?
Gitのはじめかた Windowsの場合 Git for Windows
Gitのはじめかた Mac, Linuxの場合 $ sudo pacman -S git # Arch
Linuxの場合 OSごとのパッケージマネージャでgitをインストール
Gitのはじめかた Windows : git bash その他OS : 任意のターミナル を開きます $
git version git version 2.15.1.windows.2 成功
どうやって使うの? HOW TO MANAGE PROJECT WITH GIT ?
どうやって使うの? $ mkdir testproject $ cd testproject $ git init
どうやって使うの? $ mkdir testproject $ cd testproject $ git init
どうやって使うの? $ dir -a # windowsの場合 $ ls -a #
mac, linuxの場合 . .. .git
どうやって使うの? ① 作業エリア ステージングエリア リポジトリ
どうやって使うの? ① 作業エリア ステージングエリア リポジトリ ① git add
どうやって使うの? 作業エリア ステージングエリア リポジトリ ① ① git commit バグを修正
どうやって使うの? ① ② ③ ④ ③´ ④´ master bugfix
どうやって使うの? ① ② ③´ ④´ bugfix master git branch bugfix
git checkout bugfix
どうやって使うの? ① ② ③´ ④´ bugfix master git checkout master
Gitの学び方 init add commit GitHub branch checkout reset rebase
Gitの学び方 ProGit : Gitの仕様やコマンドを解説した500ページ超の技術書 なんと無料で読めるやべー本(!!!!!) すべてのコマンドを覚える必要はない(200とかあるので) 1つのコマンドから身につけていく
Gitを使って楽しく開発 Good Noods Cafe • 2020
More Decks by hsm_hx
See All by hsm_hx
エンジニアにありがちな自己満足UI(笑) / How to make iikanji UI design?
hsm_hx
0
490
はじめまして,Webセキュリティ! / Welcome to the Web security world!
hsm_hx
1
210
2019年度部活動説明会 / CombIntro2019
hsm_hx
0
280
進捗を支える文房具 / stationary which support progress
hsm_hx
3
490
世界征服が夢の高専生が部活を征服する話 / I wanna dominate this world
hsm_hx
1
1.6k
技術同人誌を書いてみた話 / Let's write your tech-book
hsm_hx
0
860
1on1自己紹介/1on1-self-introduction
hsm_hx
0
2.4k
2018-09-22 逆求人フェスティバル / Reversed job-offer-festival
hsm_hx
0
4.2k
めかぶと納豆でしゅうまいを作った話 / Make Shumai from MeCab and Natto
hsm_hx
0
710
Other Decks in Technology
See All in Technology
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
1
540
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
160
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
300
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
570
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
210
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
210
Biohub - Cell Tracking During Development 5th place solution
rist
0
170
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
180
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
530
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
0
130
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
210
飯から始まるデータエンジニア
sansantech
PRO
0
110
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.4k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
Unsuck your backbone
ammeep
672
58k
Documentation Writing (for coders)
carmenintech
77
5.6k
Statistics for Hackers
jakevdp
799
230k