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
沖縄高専ICT委員会技術継承 Git/GitHub編 #02-基礎編
Search
Tkoya
February 13, 2025
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
沖縄高専ICT委員会技術継承 Git/GitHub編 #02-基礎編
沖縄高専のICT委員会で行ったGit/GitHubの技術継承です
Tkoya
February 13, 2025
More Decks by Tkoya
See All by Tkoya
Fine-Tuningっていつ使うの?〜小さなLLMをモデルルーターにして分かったこと〜
ayanoyuki
0
48
TypeScriptエンジニアのためのWASMランタイム入門:AssemblyScriptから理解するメモリの実態(ayano)
ayanoyuki
0
270
UI/UXはスライドにも宿る
ayanoyuki
0
46
Marpで学ぶCSS/HTML
ayanoyuki
0
690
ポートフォリオサイトを作ろう!
ayanoyuki
0
75
沖縄高専ICT委員会技術継承 Git/GitHub編 #03-応用編
ayanoyuki
0
230
高専キャリアのフォトモザイクアートを作る!
ayanoyuki
0
67
最凶のマルウェアEmotetを倒したテイクダウン作戦「Operation LadyBird」
ayanoyuki
0
100
Featured
See All Featured
New Earth Scene 8
popppiees
4
2.6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
500
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
250
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
550
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
830
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Transcript
File Edit View Power Point Tools Help ICT委員会技術継承 Git /
GitHub編 基礎編
File Edit View Power Point Tools Help 自己紹介 高専キャリア2024/冬の全国大会/起業部ピッチ/平良昂也/自己紹介 平良
昂也 @__ayanoYuki__ 沖縄高専 専攻科2年 趣味 プログラミング、読書、アニメ、 挑戦すること 最近したこと 技育博に参加した! 卒業できそう! 一言 一人暮らしの準備でメンブレ
File Edit View Power Point Tools Help 普通にバージョン管理をすると 学校のレポートを書いているとき、以下のように ファイル名を変えて保存したことはありませんか?
File Edit View Power Point Tools Help Gitでバージョン管理をすると ⚫変更履歴の管理:いつ、誰が、どこを変更したのかを自 動で記録できます。
⚫バージョンの切り替え:過去のバージョンに簡単に戻る ことができます。間違えてもすぐに元に戻せるので安心 です。 ⚫複数人での共同作業:友達やチームメンバーと一緒に作 業するときも、誰がどこを直したのかが一目でわかり、 作業がスムーズに進みます。
File Edit View Power Point Tools Help 紹介するコマンドのイメージ
File Edit View Power Point Tools Help 実際にやってみた(演習) ①Git 初期化とファイル作成
echo "hello git" > memo.txt git init git add . git commit -m "初めてのgit" # master ブランチにコミット
File Edit View Power Point Tools Help 実際にやってみた(演習) ②新しいブランチ "test"
を作成して切り替え git switch -c test
File Edit View Power Point Tools Help 実際にやってみた(演習) ③"test" ブランチで修正
echo "hello git!!!" > memo.txt git add . git commit -m "!!!を追加" # test ブランチにコミット
File Edit View Power Point Tools Help 実際にやってみた(演習) ④各ブランチの内容確認 #
main ブランチに切り替えて確認 git switch main type memo.txt # windows以外はcatに読み替える # 期待される出力: "hello git"
File Edit View Power Point Tools Help 実際にやってみた(演習) ④各ブランチの内容確認 #
test ブランチに切り替えて確認 git switch test type memo.txt # windows以外はcatに読み替える # 期待される出力: "hello git!!!"