Submit Search
Upload
僕とhuskyとrm -rf .git/
•
0 likes
•
107 views
P
pmw1415
Follow
社内LT会の発表資料です。 Gitリポジトリを間違えて消してしまった話。
Read less
Read more
Education
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 32
Download now
Download to read offline
Recommended
Git isthenewsexy
Git isthenewsexy
Ailsa126
Introduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training Session
Anwarul Islam
Introducing Git to your FTP workflow
Introducing Git to your FTP workflow
Roman Rus
Git Introduction
Git Introduction
Anil Wadghule
Introduction to Version Control with GIT
Introduction to Version Control with GIT
ismet özöztürk
Presentacion git
Presentacion git
Ignacio Martín
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
toolitup
Git! Why? How?
Git! Why? How?
Daniel Kummer
Recommended
Git isthenewsexy
Git isthenewsexy
Ailsa126
Introduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training Session
Anwarul Islam
Introducing Git to your FTP workflow
Introducing Git to your FTP workflow
Roman Rus
Git Introduction
Git Introduction
Anil Wadghule
Introduction to Version Control with GIT
Introduction to Version Control with GIT
ismet özöztürk
Presentacion git
Presentacion git
Ignacio Martín
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
toolitup
Git! Why? How?
Git! Why? How?
Daniel Kummer
Inside GitHub
Inside GitHub
err
第 10 回 Webteko
第 10 回 Webteko
Shinya Ohyanagi
GIT: a Gentle InTroduction
GIT: a Gentle InTroduction
Codemotion
GIT - DUG Antwerp
GIT - DUG Antwerp
Krimson
Git Tutorial
Git Tutorial
Pranav Kulkarni
Workshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughs
David Lawrence
Git Introduction
Git Introduction
Gareth Hall
Git
Git
jnewland
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
SV Ruby on Rails Meetup
SCMBC闇LT資料
SCMBC闇LT資料
bleis tift
Python Dependency Management - PyconDE 2018
Python Dependency Management - PyconDE 2018
Patrick Muehlbauer
GIT | Distributed Version Control System
GIT | Distributed Version Control System
Mohammad Imam Hossain
Ten Things You Didn't Know Git And GitHub Could Do
Ten Things You Didn't Know Git And GitHub Could Do
Owen Ou
Nicolás Aravena - Cómo aprender Git y no morir en el intento
Nicolás Aravena - Cómo aprender Git y no morir en el intento
9punto5
WeCode IL: Save Kermit
WeCode IL: Save Kermit
Victor Trakhtenberg
Git the Wnderfull tool
Git the Wnderfull tool
Amitoj Singh
Helios in Action: Git at Eclipse
Helios in Action: Git at Eclipse
Chris Aniszczyk
go 1.8 net/http timeouts
go 1.8 net/http timeouts
Yahoo!デベロッパーネットワーク
Git training with Devaamo
Git training with Devaamo
Otto Kekäläinen
Enterprise git
Enterprise git
Pedro Melo
Git 基础
Git 基础
pan weizeng
COSCUP 開源工作坊:Git workflows
COSCUP 開源工作坊:Git workflows
Carl Su
More Related Content
What's hot
Inside GitHub
Inside GitHub
err
第 10 回 Webteko
第 10 回 Webteko
Shinya Ohyanagi
GIT: a Gentle InTroduction
GIT: a Gentle InTroduction
Codemotion
GIT - DUG Antwerp
GIT - DUG Antwerp
Krimson
Git Tutorial
Git Tutorial
Pranav Kulkarni
Workshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughs
David Lawrence
Git Introduction
Git Introduction
Gareth Hall
Git
Git
jnewland
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
SV Ruby on Rails Meetup
SCMBC闇LT資料
SCMBC闇LT資料
bleis tift
Python Dependency Management - PyconDE 2018
Python Dependency Management - PyconDE 2018
Patrick Muehlbauer
GIT | Distributed Version Control System
GIT | Distributed Version Control System
Mohammad Imam Hossain
Ten Things You Didn't Know Git And GitHub Could Do
Ten Things You Didn't Know Git And GitHub Could Do
Owen Ou
Nicolás Aravena - Cómo aprender Git y no morir en el intento
Nicolás Aravena - Cómo aprender Git y no morir en el intento
9punto5
WeCode IL: Save Kermit
WeCode IL: Save Kermit
Victor Trakhtenberg
Git the Wnderfull tool
Git the Wnderfull tool
Amitoj Singh
Helios in Action: Git at Eclipse
Helios in Action: Git at Eclipse
Chris Aniszczyk
go 1.8 net/http timeouts
go 1.8 net/http timeouts
Yahoo!デベロッパーネットワーク
Git training with Devaamo
Git training with Devaamo
Otto Kekäläinen
Enterprise git
Enterprise git
Pedro Melo
What's hot
(20)
Inside GitHub
Inside GitHub
第 10 回 Webteko
第 10 回 Webteko
GIT: a Gentle InTroduction
GIT: a Gentle InTroduction
GIT - DUG Antwerp
GIT - DUG Antwerp
Git Tutorial
Git Tutorial
Workshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughs
Git Introduction
Git Introduction
Git
Git
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
SCMBC闇LT資料
SCMBC闇LT資料
Python Dependency Management - PyconDE 2018
Python Dependency Management - PyconDE 2018
GIT | Distributed Version Control System
GIT | Distributed Version Control System
Ten Things You Didn't Know Git And GitHub Could Do
Ten Things You Didn't Know Git And GitHub Could Do
Nicolás Aravena - Cómo aprender Git y no morir en el intento
Nicolás Aravena - Cómo aprender Git y no morir en el intento
WeCode IL: Save Kermit
WeCode IL: Save Kermit
Git the Wnderfull tool
Git the Wnderfull tool
Helios in Action: Git at Eclipse
Helios in Action: Git at Eclipse
go 1.8 net/http timeouts
go 1.8 net/http timeouts
Git training with Devaamo
Git training with Devaamo
Enterprise git
Enterprise git
Similar to 僕とhuskyとrm -rf .git/
Git 基础
Git 基础
pan weizeng
COSCUP 開源工作坊:Git workflows
COSCUP 開源工作坊:Git workflows
Carl Su
The git
The git
Leonardo YongUk Kim
GIT, RVM, FIRST HEROKU APP
GIT, RVM, FIRST HEROKU APP
Pavel Tyk
Github basics
Github basics
Radoslav Georgiev
Git简介
Git简介
clvrobj
Git Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a Boss
tmacwilliam
The Git - (#1/2)
The Git - (#1/2)
Leonardo YongUk Kim
Git 101 for_tarad_dev
Git 101 for_tarad_dev
Somkiat Puisungnoen
Basic Git commands
Basic Git commands
Jitendra Zaa
Basic git
Basic git
Casper Chen
Git study notes
Git study notes
Angus Li
Git One Day Training Notes
Git One Day Training Notes
glen_a_smith
Python korea 2012 11-24-github
Python korea 2012 11-24-github
LINE株式会社
Advanced Git Tutorial
Advanced Git Tutorial
Sage Sharp
Git Tutorial I
Git Tutorial I
Jim Yeh
Git Heaven with Wakanda
Git Heaven with Wakanda
Juergen Fesslmeier
Why Git Sucks and you'll use it anyways
Why Git Sucks and you'll use it anyways
Carlos Taborda
Git installation and configuration
Git installation and configuration
Kishor Kumar
Gitting the Most From Git
Gitting the Most From Git
Chris Miller
Similar to 僕とhuskyとrm -rf .git/
(20)
Git 基础
Git 基础
COSCUP 開源工作坊:Git workflows
COSCUP 開源工作坊:Git workflows
The git
The git
GIT, RVM, FIRST HEROKU APP
GIT, RVM, FIRST HEROKU APP
Github basics
Github basics
Git简介
Git简介
Git Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a Boss
The Git - (#1/2)
The Git - (#1/2)
Git 101 for_tarad_dev
Git 101 for_tarad_dev
Basic Git commands
Basic Git commands
Basic git
Basic git
Git study notes
Git study notes
Git One Day Training Notes
Git One Day Training Notes
Python korea 2012 11-24-github
Python korea 2012 11-24-github
Advanced Git Tutorial
Advanced Git Tutorial
Git Tutorial I
Git Tutorial I
Git Heaven with Wakanda
Git Heaven with Wakanda
Why Git Sucks and you'll use it anyways
Why Git Sucks and you'll use it anyways
Git installation and configuration
Git installation and configuration
Gitting the Most From Git
Gitting the Most From Git
Recently uploaded
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
iammrhaywood
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
Dr.Ibrahim Hassaan
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
mkooblal
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
anshu789521
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
UjwalaBharambe
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
9953056974 Low Rate Call Girls In Saket, Delhi NCR
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
JiesonDelaCerna
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
InMediaRes1
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
UnboundStockton
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
ssuser54595a
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
NirmalaLoungPoorunde1
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
RaymartEstabillo3
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
Dr. Mazin Mohamed alkathiri
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
YousafMalik24
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
InMediaRes1
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Marc Dusseiller Dusjagr
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
CapitolTechU
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
Celine George
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
SamikshaHamane
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
Celine George
Recently uploaded
(20)
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
僕とhuskyとrm -rf .git/
1.
husky rm –rf
.git/ @pmw1415
2.
Git • • • Git GitHub
3.
Git • git clone
.git • • push
4.
Git rm –rf
.git/
5.
• @pmw1415 • Web • •
Vue.js
6.
… lint-staged Git
7.
… lint-staged Git …
8.
lint-staged husky
9.
lint-staged • npm • lint •
husky
10.
husky • npm • Git
Git hook •
11.
Git hook • (pre-commit)
lint (pre-push) JUnit • •
12.
lint-staged@8.x lint 🎉 • • lint
git add → git add -p staged/unstaged git add • git add (^o^) • v8.x • staged lint → lint (^o^)
13.
14.
• lint-staged v8.x •
husky
15.
pre-commit, pre-push • pre-commit,
pre-push • husky pre-commit →upgrade
16.
pre-commit • husky upgrade
.git/hooks • • yarn, npm run
17.
.git/hooks/ • • →
18.
.git/hooks/ $ rm –rf
.git/hooks/
19.
.git $ rm –rf
.git/hooks/
20.
.git $ rm –rf
.git/hooks/ Backspace
21.
.git $ rm –rf
.git/ Tab HEAD config hooks/ info/ objects/ refs/ branches/ description index logs/ packed-refs $ rm –rf .git/
22.
.git $ rm –rf
.git/ Tab HEAD config hooks/ info/ objects/ refs/ branches/ description index logs/ packed-refs $ rm –rf .git/
23.
hooks $ rm –rf
.git/ Tab HEAD config hooks/ info/ objects/ refs/ branches/ description index logs/ packed-refs $ rm –rf .git/
24.
hooks $ rm –rf
.git/ Tab HEAD config hooks/ info/ objects/ refs/ branches/ description index logs/ packed-refs $ rm –rf .git/ Enter $
25.
26.
(^o^)
27.
(^o^)
28.
• •
29.
30.
• • → •
ls
31.
32.
rmtrash • • alias rm=‘rmtrash’
rm • rm (^o^)
Download now