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
130
Git勉強会
りくとが所属する研究室で、研究室メンバー向けに行ったGitの勉強会資料です。
Rikuto Sato
August 02, 2019
Tweet
Share
More Decks by Rikuto Sato
See All by Rikuto Sato
useReducerいつ使う?
riku929hr
0
870
Other Decks in Education
See All in Education
人生の転機からチャンスを掴む「シュロスバーグの4Sモデル」/4s-models
yuko_yokouchi
2
730
LightSail2324
cbtlibrary
0
130
保育とふりかえりをコネクト! / connect childcare and retrospectives!
psj59129
1
150
2024年度春学期 統計学 講義の進め方と成績評価について (2024. 4. 11)
akiraasano
PRO
0
110
生成AIを活用できる大学教職員になる-基本と実践-
gmoriki
0
300
STEAM教育の枠組で行うプログラミング学習
asial_edu
0
210
Copilotとして理解する生成AI利用の基本
gmoriki
0
140
合理的配慮を知るワークショップ/Understanding Reasonable Accommodations (Workshop)
freee
1
1.4k
Microsoft Office 365
matleenalaakso
0
1.5k
HCL Notes 14.0 「スタイルの変更」で「3 設定の確認」を深掘り
harunakano
0
2k
前期教育実習事前指導0221
naradai
0
130
Multimodal Interaction - Lecture 3 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.1k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
200
23k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Agile that works and the tools we love
rasmusluckow
325
20k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Designing for Performance
lara
601
67k
Being A Developer After 40
akosma
57
580k
Rails Girls Zürich Keynote
gr2m
91
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
We Have a Design System, Now What?
morganepeng
43
6.8k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
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