Git:基本操作
公開リポジトリから、更新されたファイルを取ってくる
$ git pull
ほかのリポジトリの変更点をローカルリポジトリにマージする
git pull
変更点の表示
$ git show
Git:コミットの詳細を確認
git show
コミット
$ git commit
変更点をコミットする
git commit
ファイルを編集
インデックス(ステージングエリア)にファイルを追加する
$ git add
Git:ファイルやディレクトリをインデックスに登録する
git add
コミット
$ git commit
公開リポジトリに送る
$ git push
公開リポジトリに自分のリポジトリの内容を送信する
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:repository
Git:プル - Git:pull
Git:コミット - Git:commit
Git:コミットログ - Git:commit log
Git:プッシュ - Git:push
https://img.shields.io/badge/git-基本操作-F05033.svg?style=for-the-badge&logo=git&logoColor=white
#git-tutorial