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
250
Git勉強会
りくとが所属する研究室で、研究室メンバー向けに行ったGitの勉強会資料です。
Rikuto Sato
August 02, 2019
Tweet
Share
More Decks by Rikuto Sato
See All by Rikuto Sato
「テストコードのスタイルガイド」を作った理由
riku929hr
0
27
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
8
2.3k
useReducerいつ使う?
riku929hr
1
6.5k
Other Decks in Education
See All in Education
2025年の本当に大事なAI動向まとめ
frievea
1
200
JAPAN AI CUP Prediction Tutorial
upura
2
930
GitHubによるWebアプリケーションのデプロイ / 07-github-deploy
kaityo256
PRO
1
200
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visualisation (4019538FNR)
signer
PRO
1
2.9k
Postcards
gabrielramirezv
0
160
Flinga
matleenalaakso
4
15k
0121
cbtlibrary
0
150
Referendum Costituzionale Giustizia
nostradalmine
0
110
資格支援制度-株式会社HIT
kabushikigaisya_hit
0
650
高校数学B「統計的な推測」 分野の問題と課題
shimizudan
1
120
Google Antigravity エージェント・フ ァーストな開発パラダイムへの招待
mickey_kubo
1
110
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4019538FNR)
signer
PRO
0
3k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
ラッコキーワード サービス紹介資料
rakko
1
2.8M
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
Design in an AI World
tapps
0
180
Designing for Performance
lara
611
70k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
52k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
490
Designing for Timeless Needs
cassininazir
0
170
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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