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
沖縄高専ICT委員会技術継承 Git/GitHub編 #02-基礎編
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tkoya
February 13, 2025
0
110
沖縄高専ICT委員会技術継承 Git/GitHub編 #02-基礎編
沖縄高専のICT委員会で行ったGit/GitHubの技術継承です
Tkoya
February 13, 2025
Tweet
Share
More Decks by Tkoya
See All by Tkoya
UI/UXはスライドにも宿る
ayanoyuki
0
18
Marpで学ぶCSS/HTML
ayanoyuki
0
520
ポートフォリオサイトを作ろう!
ayanoyuki
0
44
沖縄高専ICT委員会技術継承 Git/GitHub編 #03-応用編
ayanoyuki
0
150
高専キャリアのフォトモザイクアートを作る!
ayanoyuki
0
40
最凶のマルウェアEmotetを倒したテイクダウン作戦「Operation LadyBird」
ayanoyuki
0
49
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
250
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
RailsConf 2023
tenderlove
30
1.4k
Ethics towards AI in product and experience design
skipperchong
2
210
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
300
So, you think you're a good person
axbom
PRO
2
1.9k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
280
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
96
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!!!"