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
Git勉強会
Search
Rikuto Sato
August 02, 2019
Education
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git勉強会
りくとが所属する研究室で、研究室メンバー向けに行ったGitの勉強会資料です。
Rikuto Sato
August 02, 2019
More Decks by Rikuto Sato
See All by Rikuto Sato
「テストコードのスタイルガイド」を作った理由
riku929hr
0
48
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
8
2.4k
useReducerいつ使う?
riku929hr
1
6.7k
Other Decks in Education
See All in Education
[2026前期火5] 論理学(京都大学文学部 前期 第14回)「計算は、証明ではない——ハルシネーションを三層ハーモニーで診る」
yatabe
0
220
Comentario del plano urbano de Madrid hasta 1860 (1ª parte )
juanmartin2026
1
14k
データマネジメント試験対策教材1〜データマネジメント基礎〜
yoshimura_datam
1
630
Examen de Selectividad. Geografía julio 2026 (Convocatoria Extraordinaria). UCLM
juanmartin2026
1
12k
[2026前期火5] 論理学(京都大学文学部 前期 第12回)「証明を走らせる:カリー・ハワード対応」
yatabe
0
280
Tableau Public入門ハンズオン|Titanicデータで学ぶViz作成とMakeover
hayashi_ds017
0
110
면접관 눈에 띄는 데이터 분석 포트폴리오 만드는 법 | 2026년 5월 세미나
datarian
0
1.1k
[2026前期火5] 論理学(京都大学文学部 前期 第4回)「 ならば(→)の導入と証明ネット」
yatabe
0
540
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.8k
Modern Data Fetching Techniques in Angular
debug_mode
0
260
FA26 CLU MS Clinical Psychology New Student Orientation
jdbedics
0
160
Plano urbano de Madrid desde el Ensanche al s. XXI (2ª parte).
juanmartin2026
1
14k
Featured
See All Featured
Designing for Timeless Needs
cassininazir
1
450
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
900
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
180
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
340
Site-Speed That Sticks
csswizardry
13
1.5k
Prompt Engineering for Job Search
mfonobong
0
420
The Cost Of JavaScript in 2023
addyosmani
55
10k
It's Worth the Effort
3n
188
29k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
360
Ruling the World: When Life Gets Gamed
codingconduct
0
310
Transcript
None
⚫ • • ⚫ ⚫ • ⚫ • ⚫
None
None
example_origin.cpp example_01.cpp example_02.cpp example_fin.cpp example… • • •
def factorial(n): return n*factorial(n-1) def factorial(n): if n < 1:
return 1 else: return n*factorial(n-1)
• • •
None
PS > choco install –y git https://git-scm.com/
⚫ ⚫ ⚫
$ brew install git $ git --version git version x.xx.x
$ sudo apt install –y git $ git --version git
version x.xx.x
⚫ ⚫ $ brew cask install vscode $ choco install
vscode -y
⚫ ⚫
None
None
None
$ git config --global user.name “<YourName>” $ git config --global
user.email “<YourEmail>”
[email protected]
None
None
$ mkdir git_training $ cd git_training
git_training/$ git init Initialized empty Git repository in C:/xxxx/git_training/.git/
• • • # Cache File # *.pyc * #
Logs *.csv # Static static/
$ git add < > $ git add . $
git status
$ git commit –m “ ”
# coding: utf-8 a = int(input(" a ¥n")) b =
int(input(" b ¥n")) print("a b " + str(a + b) + " ") [add] 2
None
$ git reflog $ git log
$ git add < > # # git add .
$ git commit –m “< >” $ git init
None
$ git commit --amend
$ git diff < > < >
None
None
$ git status
$ git revert HEAD
None
• • • • • •
None
None
None
None
None
None
None
$ git reset --soft HEAD^
$ git reset HEAD
$ git reset --hard HEAD^ $ git reset --hard HEAD
• •
•
None
None
• • • • • • • • • •
• • • •
$ git clone https://github.com/riku929hr/markdown_sample.git
None
• • • • • • • • • •
•
None