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
0
210
Git勉強会
りくとが所属する研究室で、研究室メンバー向けに行ったGitの勉強会資料です。
Rikuto Sato
August 02, 2019
Tweet
Share
More Decks by Rikuto Sato
See All by Rikuto Sato
「テストコードのスタイルガイド」を作った理由
riku929hr
0
17
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
9
1.9k
useReducerいつ使う?
riku929hr
1
5.9k
Other Decks in Education
See All in Education
i-GIP 2025 中高生のみなさんへ資料
202200
0
480
著作権と授業に関する出前講習会/dme-2025-05-01
gnutar
0
200
Common STIs in London: Symptoms, Risks & Prevention
medicaldental
0
130
モンテカルロ法(3) 発展的アルゴリズム / Simulation 04
kaityo256
PRO
7
1.3k
Education-JAWS #3 ~教育現場に、AWSのチカラを~
masakiokuda
0
160
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
180
SkimaTalk Introduction for Students
skimatalk
0
380
OpenRobomaster 中国のロボットコンテスト 日本連携の可能性
takasumasakazu
0
440
生成AIとの上手な付き合い方【公開版】/ How to Get Along Well with Generative AI (Public Version)
handlename
0
460
SkimaTalk Teacher Guidelines
skimatalk
0
790k
RELC_2025_KYI
otamayuzak
0
110
Course Review - Lecture 12 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.7k
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
A better future with KSS
kneath
239
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Making Projects Easy
brettharned
116
6.3k
Thoughts on Productivity
jonyablonski
69
4.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
Bash Introduction
62gerente
614
210k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
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