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/GitHub勉強会まとめ
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
kkri3
June 06, 2020
Programming
1
130
Git/GitHub勉強会まとめ
新入社員で集まってオンライン勉強会を行ったのでそのまとめ+αです。
コマンドを確認しクライアントソフトを利用しました!
kkri3
June 06, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
並行開発のためのコードレビュー
miyukiw
0
180
Grafana:建立系統全知視角的捷徑
blueswen
0
330
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.2k
AI巻き込み型コードレビューのススメ
nealle
2
310
Architectural Extensions
denyspoltorak
0
290
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
4 Signs Your Business is Dying
shpigford
187
22k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Marketing to machines
jonoalderson
1
4.6k
Building the Perfect Custom Keyboard
takai
2
680
Six Lessons from altMBA
skipperchong
29
4.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Become a Pro
speakerdeck
PRO
31
5.8k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Exploring anti-patterns in Rails
aemeredith
2
250
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/