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
170
Git勉強会
りくとが所属する研究室で、研究室メンバー向けに行ったGitの勉強会資料です。
Rikuto Sato
August 02, 2019
Tweet
Share
More Decks by Rikuto Sato
See All by Rikuto Sato
useReducerいつ使う?
riku929hr
0
3.4k
Other Decks in Education
See All in Education
セキュリティ・キャンプ全国大会2024 S17 探査機自作ゼミ 事前学習・当日資料
sksat
3
840
Medicare 101 for 2025
robinlee
PRO
0
190
AWS All Certが伝える 新AWS認定試験取得のコツ (Machine Learning Engineer - Associate)
nnydtmg
1
540
Comezando coas redes
irocho
0
360
PSYC-560 R and R Studio Setup
jdbedics
0
510
老人会? いえ、技術継承です @ builderscon 2024 LT
s3i7h
0
100
Epithelium Flashcards
ndevaul
0
990
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.7k
"数学" をプログラミングしてもらう際に気をつけていること / Key Considerations When Programming "Mathematics"
guvalif
0
550
2409_CompanyInfo_Hanji_published.pdf
yosukemurata
0
290
HCI Research Methods - Lecture 7 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
700
Padlet opetuksessa
matleenalaakso
4
12k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
327
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Become a Pro
speakerdeck
PRO
25
5k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Large-scale JavaScript Application Architecture
addyosmani
510
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