Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git/GitHub勉強会まとめ
Search
kkri3
June 06, 2020
Programming
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git/GitHub勉強会まとめ
新入社員で集まってオンライン勉強会を行ったのでそのまとめ+αです。
コマンドを確認しクライアントソフトを利用しました!
kkri3
June 06, 2020
Other Decks in Programming
See All in Programming
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.4k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
The Rails Doctrine Decade
koic
2
590
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
ChromeでローカルLLM
ryu1013
0
140
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1033
470k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
How to Talk to Developers About Accessibility
jct
2
580
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
We Are The Robots
honzajavorek
0
400
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Transcript
@_kkri_ Git/GitHub 入門 ~新入社員でオンライン勉強会してきた~ Twitter :
@_kkri_ よく使うコマンド
@_kkri_ init/clone 既存のリポジトリを初期化【init】 $git init 既存のリポジトリをクローン【clone】 $git clone [url] ([dir_name])
@_kkri_ status/add/commit ファイルの状態を確認【status】 $git status (-s(--short)) 全変更をステージに追加【add】 $git add .
ステージをリポジトリへコミット【commit】 $git commit –m “[message]”
@_kkri_ diff add前の変更を確認 $git diff ([file]) add後の変更を確認 $git diff --staged
([file])
@_kkri_ log コミット履歴を表示 $git log (-n [num]) 特定ファイルの履歴 $git log
–p [file]
@_kkri_ rm リポジトリから削除 $git rm --cached [file] リポジトリ&ワークスペースから削除 $git rm
[file] $git rm –r [dir]から削除
@_kkri_ remote add/push リモートリポジトリを設定【remote add】 $git remote add origin [url]
リモートリポジトリへ送信【push】 $git push (-u) origin master $git push (-u) [remote] [branch] -uオプションを付けると次回以降$git pushのみ
@_kkri_ pull (=fetch+merge) リモートリポジトリを反映 $git pull [remote] [branch] $git pull
origin masterは $git pull だけでOK
@_kkri_ branch 新規ブランチを作成 $git branch [branch] ブランチを削除 $git branch -d
[branch] ブランチを一覧表示 $git branch
@_kkri_ checkout/branch ブランチを切り替え【checkout】 $git checkout [branch] ブランチを作成して切り替え【 checkout 】 $git
checkout -b [branch] ブランチを一覧表示【branch】 $git branch
@_kkri_ merge 変更を現在のブランチにマージする $git merge [branch] $git merge [remote/branch]
@_kkri_ alias コマンドの短縮設定 git config --global alias.co ‘checkout’ git config
–global alias.st ‘status‘ git config --global alias.ci ‘commit ’ git config --global alias.di ‘diff’ git config --global alias.br ‘branch’
@_kkri_ ここまでコマンドを 見てきましたが…
@_kkri_ GUI(Gitクライアント) が超便利!
@_kkri_ VSCode 拡張機能 Git Graph
@_kkri_ デスクトップアプリ Git Kraken
@_kkri_ これから学ぶこと • reset • rebase • tag • stash
@_kkri_ 参考 ・公式book https://git-scm.com/book/ja/v2 ・【Git】基本コマンド https://qiita.com/konweb/items/621722f67fdd8f86a017 ・Git Graph https://marketplace.visualstudio.com/items?itemName=mhut chie.git-graph
・Git Kraken https://www.gitkraken.com/