The document outlines an introduction seminar on Git. It provides an overview of the seminar's purpose, target audience, level, approach, presenter's background and more. It also discusses common issues with existing Git books and seminars, and how this seminar will differ by focusing on getting hands-on with operations rather than explanations. The document then outlines the steps that will be covered in the hands-on portion of the seminar, including creating repositories and branches, committing changes, merging, and resolving conflicts.
31. バージョン管理
commit: create test file
=>testファイルの1行目
main
develop
merge: develop to main
=>developブランチをmainブランチにマージ
commit: add date
=>testファイルの2行目
commit: add place
=>testファイルの3行目
commit: add place
=>testファイルの3行目 conflict
merge
40. バージョン管理
commit: create test file
=>testファイルの1行目
main
develop
merge: develop to main
=>developブランチをmainブランチにマージ
commit: add date
=>testファイルの2行目
commit: add place
=>testファイルの3行目
merge: develop to main
=>developブランチをmainブランチにマージ
45. 練習問題
1. Gitコマンド確認;当てはまる
Gitコマンドを書く
a. 変更があったファイルを確認したいとき
b. 変更があったファイルの行を確認したいとき
c. どのブランチにいるのか確認したいとき
d. mainブランチにいて“feature”ブランチという新しいブランチを作成して移動したいとき
e. mainブランチにいてリモートリポジトリの差分を取り込みたいとき
2. 差分登録;以下手順を順に行う
a. developブランチに切り替える
b. featureブランチを作成
c. test.txtの4行目に”presented by beluga”と追記
d. GithubDesktopで差分を確認しコミットメッセージ”add organizer”と書いてコミット
e. featureブランチからdevelopブランチにプルリクエストしマージ
f. GithubDesktop上でGithubへpush
3. トラブルシューティング;以下の現象が起きたときどうするか考える
a. リモートリポジトリにpushできない
b. 上げてはいけないファイルをリモートリポジトリに pushしてしまった
c. 自分がレビュワーで数人のコードをレビューをしているが、レビューするスピードよりプルリクエストの方が溜まってしま
う状況になってしまった
45