Git:基本操作
公開リポジトリから、更新されたファイルを取ってくる
$ git pull
ほかのリポジトリの変更点をローカルリポジトリにマージする
変更点の表示
$ git show
Git:コミットの詳細を確認
コミット
$ git commit
変更点をコミットする
ファイルを編集
インデックス(ステージングエリア)にファイルを追加する
$ git add
Git:ファイルやディレクトリをインデックスに登録する
コミット
$ git commit
公開リポジトリに送る
$ git push
公開リポジトリに自分のリポジトリの内容を送信する
interaction-lab-git - /interaction-lab-git/Git操作の基本的な流れ
code:f.mermaid
graph TB
Agit init --> Cgit pull
Bgit clone --> C
C --> Dgit show
D --> E(ファイルを編集)
E --> Fgit add
F --> Ggit commit
G --> Hgit push
H --> C
Git:リポジトリ
Git:プル
Git:コミット
Git:コミットログ
https://img.shields.io/badge/git-基本操作-F05033.svg?style=for-the-badge&logo=git&logoColor=white
#git-tutorial