Skip to content

ricora/git-tutorial-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Git / GitHub 演習

(準備) Gitを使えるようにしよう

Windows

  • choco install git -yをコマンドプロンプト or Powershellで打つ

  • git -hをコマンドプロンプト or Powershellで打って、ヘルプ画面が出ることを確認

mac

  • git -hをターミナルで打って、ヘルプ画面が出ることを確認

エラーが出たり、次の手順がわからなかったら部員に聞いてね

A. lec1 ディレクトリのhello.pyを編集して、プルリクエストを出そう

  1. https://github.com/RICORA/git-tutorial-2022cloneしよう

  2. (yourname)-git-lec1というブランチを作って、そのブランチに切り替えよう

  3. lec1 ディレクトリに入って、hello.pyを編集して "git-tutorial" と出力するようにしよう

  4. hello.py を add して、commitしよう

  5. https://github.com/RICORA/git-tutorial-2022にプルリクエストを出してみよう

B. (発展) lec2 ディレクトリにたくさんあるコミットをrebaseしよう

  1. https://github.com/RICORA/git-tutorial-2022cloneしよう

  2. (yourname)-git-lec2というブランチを作って、そのブランチに切り替えよう

  3. lec2 ディレクトリに入って、lec2.pyを編集して commit をまとめよう

  4. lec2.pyをaddしてcommitしよう

  5. https://github.com/RICORA/git-tutorial-2022にプルリクエストを出そう

C. サークルのサイトをcloneして、メンバー欄に自分を追加する

  1. https://github.com/RICORA/alg-HPcloneしよう

    1. docs/page-member-(your name)というブランチにswitchしよう

    2. content/page/member/index.md に自分のプロフィールを記載しよう

    3. addしてcommitしよう

    4. https://github.com/RICORA/alg-HPにプルリクエストを出そう

About

Git/GitHub演習リポジトリ2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages