2021 ソフトウェア設計及び演習用の班Wiki

gr05::git

初回のみ

コピーの作成場所に移動

$ cd ○○○

コピーを作成

$ git clone https://gitlab.cis.iwate-u.ac.jp/2021_g05/sugoroku.git
idとパスワードを入力

ファイル作成

作成したファイルがあるディレクトリに移動

$ cd ○○○

$ git add ○○○ ×××(追加ファイル名,並列に書ける)

$ git commit -m "コメント"
$ git push
idとパスワードを入力

作業中のとき

変更を受け取る

$ git pull
idとパスワードを入力

変更を送信

$ git commit -a -m "コメント"
$ git push
idとパスワードを入力

わからなくなったら…

$ git status
ここに何をすればよいか書いてある


最終更新日:2021/06/25 14:47:23