起動
docker compose build
docker compose up -dgitのバージョン
docker compose exec myubuntu git --versiongitの設定
docker compose exec myubuntu bash
git config --global user.name "Your Name"
git config --global user.email your@email.address.comgitリポジトリの初期化
git init your_repository_name
cd your_repository_name/ステージングとコミット
git add main.py
git commit -m "your commit lot" main.pyログ表示
git log作業ディレクトリの状態
git statusコミット間差分
git diffブランチ名の変更
git branch -M mainブランチの作成
git branch new_branch_nameブランチの切り替え
git branch branch_name停止
docker compose down